Table of Contents

Class Binder

Namespace
Android.Os
Assembly
MASES.Netdroid.dll
public class Binder : IBinder, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IIBinder
Inheritance
JVMBridgeBase
JVMBridgeBase<IBinder>
Binder
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<IBinder>.IsAssignableFrom(IJavaType)
JVMBridgeBase<IBinder>.IsAssignableFrom<T>()
JVMBridgeBase<IBinder>.Execute<T>(params T[])
JVMBridgeBase<IBinder>.DynBridgeClazz
JVMBridgeBase<IBinder>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Binder()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Binder()

Binder(String)

public Binder(String arg0)

Parameters

arg0 String

String

Binder(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Binder(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AttachInterface(IInterface, String)

public void AttachInterface(IInterface arg0, String arg1)

Parameters

arg0 IInterface

IInterface

arg1 String

String

ClearCallingIdentity()

public static long ClearCallingIdentity()

Returns

long

long

ClearCallingWorkSource()

public static long ClearCallingWorkSource()

Returns

long

long

Dump(FileDescriptor, String[])

public void Dump(FileDescriptor arg0, String[] arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 String[]

String

DumpAsync(FileDescriptor, String[])

public void DumpAsync(FileDescriptor arg0, String[] arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 String[]

String

FlushPendingCommands()

public static void FlushPendingCommands()

GetCallingPid()

public static int GetCallingPid()

Returns

int

int

GetCallingUid()

public static int GetCallingUid()

Returns

int

int

GetCallingUidOrThrow()

public static int GetCallingUidOrThrow()

Returns

int

int

GetCallingUserHandle()

public static UserHandle GetCallingUserHandle()

Returns

UserHandle

UserHandle

GetCallingWorkSourceUid()

public static int GetCallingWorkSourceUid()

Returns

int

int

GetInterfaceDescriptor()

public String GetInterfaceDescriptor()

Returns

String

String

IsBinderAlive()

public bool IsBinderAlive()

Returns

bool

bool

JoinThreadPool()

public static void JoinThreadPool()

LinkToDeath(DeathRecipient, int)

public void LinkToDeath(IBinder.DeathRecipient arg0, int arg1)

Parameters

arg0 IBinder.DeathRecipient

IBinder.DeathRecipient

arg1 int

int

PingBinder()

public bool PingBinder()

Returns

bool

bool

QueryLocalInterface(String)

public IInterface QueryLocalInterface(String arg0)

Parameters

arg0 String

String

Returns

IInterface

IInterface

RestoreCallingIdentity(long)

public static void RestoreCallingIdentity(long arg0)

Parameters

arg0 long

long

RestoreCallingWorkSource(long)

public static void RestoreCallingWorkSource(long arg0)

Parameters

arg0 long

long

SetCallingWorkSourceUid(int)

public static long SetCallingWorkSourceUid(int arg0)

Parameters

arg0 int

int

Returns

long

long

Transact(int, Parcel, Parcel, int)

public bool Transact(int arg0, Parcel arg1, Parcel arg2, int arg3)

Parameters

arg0 int

int

arg1 Parcel

Parcel

arg2 Parcel

Parcel

arg3 int

int

Returns

bool

bool

Exceptions

RemoteException

UnlinkToDeath(DeathRecipient, int)

public bool UnlinkToDeath(IBinder.DeathRecipient arg0, int arg1)

Parameters

arg0 IBinder.DeathRecipient

IBinder.DeathRecipient

arg1 int

int

Returns

bool

bool