Build 1.0_r1(from source)

android.bluetooth
Class IBluetoothHeadset.Stub

java.lang.Object
  extended by android.os.Binder
      extended by android.bluetooth.IBluetoothHeadset.Stub
All Implemented Interfaces:
IBluetoothHeadset, IBinder, IInterface
Enclosing interface:
IBluetoothHeadset

public abstract static class IBluetoothHeadset.Stub
extends Binder
implements IBluetoothHeadset

Local-side IPC implementation stub class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.bluetooth.IBluetoothHeadset
IBluetoothHeadset.Stub
 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient
 
Field Summary
(package private) static int TRANSACTION_connectHeadset
           
(package private) static int TRANSACTION_disconnectHeadset
           
(package private) static int TRANSACTION_getHeadsetAddress
           
(package private) static int TRANSACTION_getState
           
(package private) static int TRANSACTION_isConnected
           
 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, PING_TRANSACTION
 
Constructor Summary
IBluetoothHeadset.Stub()
          Construct the stub at attach it to the interface.
 
Method Summary
 IBinder asBinder()
          Retrieve the Binder object associated with this interface.
static IBluetoothHeadset asInterface(IBinder obj)
          Cast an IBinder object into an IBluetoothHeadset interface, generating a proxy if needed.
 boolean onTransact(int code, Parcel data, Parcel reply, int flags)
          Default implementation is a stub that returns false.
 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface android.bluetooth.IBluetoothHeadset
connectHeadset, disconnectHeadset, getHeadsetAddress, getState, isConnected
 

Field Detail

TRANSACTION_getState

static final int TRANSACTION_getState
See Also:
Constant Field Values

TRANSACTION_getHeadsetAddress

static final int TRANSACTION_getHeadsetAddress
See Also:
Constant Field Values

TRANSACTION_connectHeadset

static final int TRANSACTION_connectHeadset
See Also:
Constant Field Values

TRANSACTION_isConnected

static final int TRANSACTION_isConnected
See Also:
Constant Field Values

TRANSACTION_disconnectHeadset

static final int TRANSACTION_disconnectHeadset
See Also:
Constant Field Values
Constructor Detail

IBluetoothHeadset.Stub

public IBluetoothHeadset.Stub()
Construct the stub at attach it to the interface.

Method Detail

asInterface

public static IBluetoothHeadset asInterface(IBinder obj)
Cast an IBinder object into an IBluetoothHeadset interface, generating a proxy if needed.


asBinder

public IBinder asBinder()
Description copied from interface: IInterface
Retrieve the Binder object associated with this interface. You must use this instead of a plain cast, so that proxy objects can return the correct result.

Specified by:
asBinder in interface IInterface

onTransact

public boolean onTransact(int code,
                          Parcel data,
                          Parcel reply,
                          int flags)
                   throws RemoteException
Description copied from class: Binder
Default implementation is a stub that returns false. You will want to override this to do the appropriate unmarshalling of transactions.

If you want to call this, call transact().

Overrides:
onTransact in class Binder
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature