android.media
Class IAudioService.Stub
java.lang.Object
android.os.Binder
android.media.IAudioService.Stub
- All Implemented Interfaces:
- IAudioService, IBinder, IInterface
- Direct Known Subclasses:
- AudioService
- Enclosing interface:
- IAudioService
public abstract static class IAudioService.Stub
- extends Binder
- implements IAudioService
Local-side IPC implementation stub class.
|
Constructor Summary |
IAudioService.Stub()
Construct the stub at attach it to the interface. |
|
Method Summary |
IBinder |
asBinder()
Retrieve the Binder object associated with this interface. |
static IAudioService |
asInterface(IBinder obj)
Cast an IBinder object into an IAudioService 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 interface android.media.IAudioService |
adjustStreamVolume, adjustSuggestedStreamVolume, adjustVolume, getMode, getRingerMode, getRouting, getStreamMaxVolume, getStreamVolume, getVibrateSetting, isMicrophoneMute, isMusicActive, loadSoundEffects, playSoundEffect, setMicrophoneMute, setMode, setParameter, setRingerMode, setRouting, setStreamMute, setStreamSolo, setStreamVolume, setVibrateSetting, shouldVibrate, unloadSoundEffects |
TRANSACTION_adjustVolume
static final int TRANSACTION_adjustVolume
- See Also:
- Constant Field Values
TRANSACTION_adjustSuggestedStreamVolume
static final int TRANSACTION_adjustSuggestedStreamVolume
- See Also:
- Constant Field Values
TRANSACTION_adjustStreamVolume
static final int TRANSACTION_adjustStreamVolume
- See Also:
- Constant Field Values
TRANSACTION_setStreamVolume
static final int TRANSACTION_setStreamVolume
- See Also:
- Constant Field Values
TRANSACTION_setStreamSolo
static final int TRANSACTION_setStreamSolo
- See Also:
- Constant Field Values
TRANSACTION_setStreamMute
static final int TRANSACTION_setStreamMute
- See Also:
- Constant Field Values
TRANSACTION_getStreamVolume
static final int TRANSACTION_getStreamVolume
- See Also:
- Constant Field Values
TRANSACTION_getStreamMaxVolume
static final int TRANSACTION_getStreamMaxVolume
- See Also:
- Constant Field Values
TRANSACTION_setRingerMode
static final int TRANSACTION_setRingerMode
- See Also:
- Constant Field Values
TRANSACTION_getRingerMode
static final int TRANSACTION_getRingerMode
- See Also:
- Constant Field Values
TRANSACTION_setVibrateSetting
static final int TRANSACTION_setVibrateSetting
- See Also:
- Constant Field Values
TRANSACTION_getVibrateSetting
static final int TRANSACTION_getVibrateSetting
- See Also:
- Constant Field Values
TRANSACTION_shouldVibrate
static final int TRANSACTION_shouldVibrate
- See Also:
- Constant Field Values
TRANSACTION_setMicrophoneMute
static final int TRANSACTION_setMicrophoneMute
- See Also:
- Constant Field Values
TRANSACTION_isMicrophoneMute
static final int TRANSACTION_isMicrophoneMute
- See Also:
- Constant Field Values
TRANSACTION_setMode
static final int TRANSACTION_setMode
- See Also:
- Constant Field Values
TRANSACTION_getMode
static final int TRANSACTION_getMode
- See Also:
- Constant Field Values
TRANSACTION_setRouting
static final int TRANSACTION_setRouting
- See Also:
- Constant Field Values
TRANSACTION_getRouting
static final int TRANSACTION_getRouting
- See Also:
- Constant Field Values
TRANSACTION_isMusicActive
static final int TRANSACTION_isMusicActive
- See Also:
- Constant Field Values
TRANSACTION_setParameter
static final int TRANSACTION_setParameter
- See Also:
- Constant Field Values
TRANSACTION_playSoundEffect
static final int TRANSACTION_playSoundEffect
- See Also:
- Constant Field Values
TRANSACTION_loadSoundEffects
static final int TRANSACTION_loadSoundEffects
- See Also:
- Constant Field Values
TRANSACTION_unloadSoundEffects
static final int TRANSACTION_unloadSoundEffects
- See Also:
- Constant Field Values
IAudioService.Stub
public IAudioService.Stub()
- Construct the stub at attach it to the interface.
asInterface
public static IAudioService asInterface(IBinder obj)
- Cast an IBinder object into an IAudioService 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