android.app
Class IStatusBar.Stub
java.lang.Object
android.os.Binder
android.app.IStatusBar.Stub
- All Implemented Interfaces:
- IStatusBar, IBinder, IInterface
- Enclosing interface:
- IStatusBar
public abstract static class IStatusBar.Stub
- extends Binder
- implements IStatusBar
Local-side IPC implementation stub class.
|
Constructor Summary |
IStatusBar.Stub()
Construct the stub at attach it to the interface. |
|
Method Summary |
IBinder |
asBinder()
Retrieve the Binder object associated with this interface. |
static IStatusBar |
asInterface(IBinder obj)
Cast an IBinder object into an IStatusBar 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 |
TRANSACTION_activate
static final int TRANSACTION_activate
- See Also:
- Constant Field Values
TRANSACTION_deactivate
static final int TRANSACTION_deactivate
- See Also:
- Constant Field Values
TRANSACTION_toggle
static final int TRANSACTION_toggle
- See Also:
- Constant Field Values
TRANSACTION_disable
static final int TRANSACTION_disable
- See Also:
- Constant Field Values
TRANSACTION_addIcon
static final int TRANSACTION_addIcon
- See Also:
- Constant Field Values
TRANSACTION_updateIcon
static final int TRANSACTION_updateIcon
- See Also:
- Constant Field Values
TRANSACTION_removeIcon
static final int TRANSACTION_removeIcon
- See Also:
- Constant Field Values
IStatusBar.Stub
public IStatusBar.Stub()
- Construct the stub at attach it to the interface.
asInterface
public static IStatusBar asInterface(IBinder obj)
- Cast an IBinder object into an IStatusBar 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
Please submit a feedback, bug or feature