C# Класс android.media.AudioManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
abandonAudioFocus ( android arg0 ) : int
abandonAudioFocus ( global arg0 ) : int
adjustStreamVolume ( int arg0, int arg1, int arg2 ) : void
adjustSuggestedStreamVolume ( int arg0, int arg1, int arg2 ) : void
adjustVolume ( int arg0, int arg1 ) : void
getMode ( ) : int
getParameters ( java arg0 ) : global::java.lang.String
getRingerMode ( ) : int
getRouting ( int arg0 ) : int
getStreamMaxVolume ( int arg0 ) : int
getStreamVolume ( int arg0 ) : int
getVibrateSetting ( int arg0 ) : int
isBluetoothA2dpOn ( ) : bool
isBluetoothScoAvailableOffCall ( ) : bool
isBluetoothScoOn ( ) : bool
isMicrophoneMute ( ) : bool
isMusicActive ( ) : bool
isSpeakerphoneOn ( ) : bool
isWiredHeadsetOn ( ) : bool
loadSoundEffects ( ) : void
playSoundEffect ( int arg0 ) : void
playSoundEffect ( int arg0, float arg1 ) : void
registerMediaButtonEventReceiver ( android arg0 ) : void
requestAudioFocus ( android arg0, int arg1, int arg2 ) : int
requestAudioFocus ( global arg0, int arg1, int arg2 ) : int
setBluetoothA2dpOn ( bool arg0 ) : void
setBluetoothScoOn ( bool arg0 ) : void
setMicrophoneMute ( bool arg0 ) : void
setMode ( int arg0 ) : void
setParameters ( java arg0 ) : void
setRingerMode ( int arg0 ) : void
setRouting ( int arg0, int arg1, int arg2 ) : void
setSpeakerphoneOn ( bool arg0 ) : void
setStreamMute ( int arg0, bool arg1 ) : void
setStreamSolo ( int arg0, bool arg1 ) : void
setStreamVolume ( int arg0, int arg1, int arg2 ) : void
setVibrateSetting ( int arg0, int arg1 ) : void
setWiredHeadsetOn ( bool arg0 ) : void
shouldVibrate ( int arg0 ) : bool
startBluetoothSco ( ) : void
stopBluetoothSco ( ) : void
unloadSoundEffects ( ) : void
unregisterMediaButtonEventReceiver ( android arg0 ) : void

Защищенные методы

Метод Описание
AudioManager ( global @__env )

Приватные методы

Метод Описание
AudioManager ( )

Описание методов

AudioManager() защищенный Метод

protected AudioManager ( global @__env )
@__env global

abandonAudioFocus() публичный Метод

public abandonAudioFocus ( android arg0 ) : int
arg0 android
Результат int

abandonAudioFocus() публичный Метод

public abandonAudioFocus ( global arg0 ) : int
arg0 global
Результат int

adjustStreamVolume() публичный Метод

public adjustStreamVolume ( int arg0, int arg1, int arg2 ) : void
arg0 int
arg1 int
arg2 int
Результат void

adjustSuggestedStreamVolume() публичный Метод

public adjustSuggestedStreamVolume ( int arg0, int arg1, int arg2 ) : void
arg0 int
arg1 int
arg2 int
Результат void

adjustVolume() публичный Метод

public adjustVolume ( int arg0, int arg1 ) : void
arg0 int
arg1 int
Результат void

getMode() публичный Метод

public getMode ( ) : int
Результат int

getParameters() публичный Метод

public getParameters ( java arg0 ) : global::java.lang.String
arg0 java
Результат global::java.lang.String

getRingerMode() публичный Метод

public getRingerMode ( ) : int
Результат int

getRouting() публичный Метод

public getRouting ( int arg0 ) : int
arg0 int
Результат int

getStreamMaxVolume() публичный Метод

public getStreamMaxVolume ( int arg0 ) : int
arg0 int
Результат int

getStreamVolume() публичный Метод

public getStreamVolume ( int arg0 ) : int
arg0 int
Результат int

getVibrateSetting() публичный Метод

public getVibrateSetting ( int arg0 ) : int
arg0 int
Результат int

isBluetoothA2dpOn() публичный Метод

public isBluetoothA2dpOn ( ) : bool
Результат bool

isBluetoothScoAvailableOffCall() публичный Метод

public isBluetoothScoAvailableOffCall ( ) : bool
Результат bool

isBluetoothScoOn() публичный Метод

public isBluetoothScoOn ( ) : bool
Результат bool

isMicrophoneMute() публичный Метод

public isMicrophoneMute ( ) : bool
Результат bool

isMusicActive() публичный Метод

public isMusicActive ( ) : bool
Результат bool

isSpeakerphoneOn() публичный Метод

public isSpeakerphoneOn ( ) : bool
Результат bool

isWiredHeadsetOn() публичный Метод

public isWiredHeadsetOn ( ) : bool
Результат bool

loadSoundEffects() публичный Метод

public loadSoundEffects ( ) : void
Результат void

playSoundEffect() публичный Метод

public playSoundEffect ( int arg0 ) : void
arg0 int
Результат void

playSoundEffect() публичный Метод

public playSoundEffect ( int arg0, float arg1 ) : void
arg0 int
arg1 float
Результат void

registerMediaButtonEventReceiver() публичный Метод

public registerMediaButtonEventReceiver ( android arg0 ) : void
arg0 android
Результат void

requestAudioFocus() публичный Метод

public requestAudioFocus ( android arg0, int arg1, int arg2 ) : int
arg0 android
arg1 int
arg2 int
Результат int

requestAudioFocus() публичный Метод

public requestAudioFocus ( global arg0, int arg1, int arg2 ) : int
arg0 global
arg1 int
arg2 int
Результат int

setBluetoothA2dpOn() публичный Метод

public setBluetoothA2dpOn ( bool arg0 ) : void
arg0 bool
Результат void

setBluetoothScoOn() публичный Метод

public setBluetoothScoOn ( bool arg0 ) : void
arg0 bool
Результат void

setMicrophoneMute() публичный Метод

public setMicrophoneMute ( bool arg0 ) : void
arg0 bool
Результат void

setMode() публичный Метод

public setMode ( int arg0 ) : void
arg0 int
Результат void

setParameters() публичный Метод

public setParameters ( java arg0 ) : void
arg0 java
Результат void

setRingerMode() публичный Метод

public setRingerMode ( int arg0 ) : void
arg0 int
Результат void

setRouting() публичный Метод

public setRouting ( int arg0, int arg1, int arg2 ) : void
arg0 int
arg1 int
arg2 int
Результат void

setSpeakerphoneOn() публичный Метод

public setSpeakerphoneOn ( bool arg0 ) : void
arg0 bool
Результат void

setStreamMute() публичный Метод

public setStreamMute ( int arg0, bool arg1 ) : void
arg0 int
arg1 bool
Результат void

setStreamSolo() публичный Метод

public setStreamSolo ( int arg0, bool arg1 ) : void
arg0 int
arg1 bool
Результат void

setStreamVolume() публичный Метод

public setStreamVolume ( int arg0, int arg1, int arg2 ) : void
arg0 int
arg1 int
arg2 int
Результат void

setVibrateSetting() публичный Метод

public setVibrateSetting ( int arg0, int arg1 ) : void
arg0 int
arg1 int
Результат void

setWiredHeadsetOn() публичный Метод

public setWiredHeadsetOn ( bool arg0 ) : void
arg0 bool
Результат void

shouldVibrate() публичный Метод

public shouldVibrate ( int arg0 ) : bool
arg0 int
Результат bool

startBluetoothSco() публичный Метод

public startBluetoothSco ( ) : void
Результат void

stopBluetoothSco() публичный Метод

public stopBluetoothSco ( ) : void
Результат void

unloadSoundEffects() публичный Метод

public unloadSoundEffects ( ) : void
Результат void

unregisterMediaButtonEventReceiver() публичный Метод

public unregisterMediaButtonEventReceiver ( android arg0 ) : void
arg0 android
Результат void