Build 1.0_r1(from source)

android.media
Interface IAudioService

All Superinterfaces:
IInterface
All Known Implementing Classes:
AudioService, IAudioService.Stub

public interface IAudioService
extends IInterface


Nested Class Summary
static class IAudioService.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 void adjustStreamVolume(int streamType, int direction, int flags)
           
 void adjustSuggestedStreamVolume(int direction, int suggestedStreamType, int flags)
           
 void adjustVolume(int direction, int flags)
           
 int getMode()
           
 int getRingerMode()
           
 int getRouting(int mode)
           
 int getStreamMaxVolume(int streamType)
           
 int getStreamVolume(int streamType)
           
 int getVibrateSetting(int vibrateType)
           
 boolean isMicrophoneMute()
           
 boolean isMusicActive()
           
 boolean loadSoundEffects()
           
 void playSoundEffect(int effectType)
           
 void setMicrophoneMute(boolean on)
           
 void setMode(int mode)
           
 void setParameter(String key, String value)
           
 void setRingerMode(int ringerMode)
           
 void setRouting(int mode, int routes, int mask)
           
 void setStreamMute(int streamType, boolean state, IBinder cb)
           
 void setStreamSolo(int streamType, boolean state, IBinder cb)
           
 void setStreamVolume(int streamType, int index, int flags)
           
 void setVibrateSetting(int vibrateType, int vibrateSetting)
           
 boolean shouldVibrate(int vibrateType)
           
 void unloadSoundEffects()
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

adjustVolume

void adjustVolume(int direction,
                  int flags)
                  throws RemoteException
Throws:
RemoteException

adjustSuggestedStreamVolume

void adjustSuggestedStreamVolume(int direction,
                                 int suggestedStreamType,
                                 int flags)
                                 throws RemoteException
Throws:
RemoteException

adjustStreamVolume

void adjustStreamVolume(int streamType,
                        int direction,
                        int flags)
                        throws RemoteException
Throws:
RemoteException

setStreamVolume

void setStreamVolume(int streamType,
                     int index,
                     int flags)
                     throws RemoteException
Throws:
RemoteException

setStreamSolo

void setStreamSolo(int streamType,
                   boolean state,
                   IBinder cb)
                   throws RemoteException
Throws:
RemoteException

setStreamMute

void setStreamMute(int streamType,
                   boolean state,
                   IBinder cb)
                   throws RemoteException
Throws:
RemoteException

getStreamVolume

int getStreamVolume(int streamType)
                    throws RemoteException
Throws:
RemoteException

getStreamMaxVolume

int getStreamMaxVolume(int streamType)
                       throws RemoteException
Throws:
RemoteException

setRingerMode

void setRingerMode(int ringerMode)
                   throws RemoteException
Throws:
RemoteException

getRingerMode

int getRingerMode()
                  throws RemoteException
Throws:
RemoteException

setVibrateSetting

void setVibrateSetting(int vibrateType,
                       int vibrateSetting)
                       throws RemoteException
Throws:
RemoteException

getVibrateSetting

int getVibrateSetting(int vibrateType)
                      throws RemoteException
Throws:
RemoteException

shouldVibrate

boolean shouldVibrate(int vibrateType)
                      throws RemoteException
Throws:
RemoteException

setMicrophoneMute

void setMicrophoneMute(boolean on)
                       throws RemoteException
Throws:
RemoteException

isMicrophoneMute

boolean isMicrophoneMute()
                         throws RemoteException
Throws:
RemoteException

setMode

void setMode(int mode)
             throws RemoteException
Throws:
RemoteException

getMode

int getMode()
            throws RemoteException
Throws:
RemoteException

setRouting

void setRouting(int mode,
                int routes,
                int mask)
                throws RemoteException
Throws:
RemoteException

getRouting

int getRouting(int mode)
               throws RemoteException
Throws:
RemoteException

isMusicActive

boolean isMusicActive()
                      throws RemoteException
Throws:
RemoteException

setParameter

void setParameter(String key,
                  String value)
                  throws RemoteException
Throws:
RemoteException

playSoundEffect

void playSoundEffect(int effectType)
                     throws RemoteException
Throws:
RemoteException

loadSoundEffects

boolean loadSoundEffects()
                         throws RemoteException
Throws:
RemoteException

unloadSoundEffects

void unloadSoundEffects()
                        throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature