Table of Contents

Class Binder

Namespace
Android.Os
Assembly
MASES.Netdroid.dll
public class Binder : IBinder, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IIBinder
Inheritance
Binder
Implements
Inherited Members
Extension Methods

Constructors

Binder()

public Binder()

Binder(String)

public Binder(String arg0)

Parameters

arg0 String

String

Binder(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Binder(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

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

CreatePoolableInstance()

HPA initializer for Binder()

public static Binder CreatePoolableInstance()

Returns

Binder

CreatePoolableInstance(String)

HPA initializer for Binder(Java.Lang.String arg0)

public static Binder CreatePoolableInstance(String arg0)

Parameters

arg0 String

Returns

Binder

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