Mobile

class in UnityEngine

Cambiar al Manual

Descripción

This class encapsulates properties and methods to handle audio output thread on iOS/Android.

Variables Estáticas

audioOutputStartedReturns true if audio output thread is working.
muteStateReturns true if current device media volume is 0.
stopAudioOutputOnMuteSet this property to true to make audio output thread automatically stop when device media volume is set to 0 and to start it again when volume is not 0.

Funciones Estáticas

StartAudioOutputStarts audio output thread on Android/iOS.
StopAudioOutputStops audio thread on Android/iOS.

Events

OnMuteStateChangedA delegate called whenever the device mute state is changed.