| Method | Defined By | ||
|---|---|---|---|
Enable(type:String = SOLO_AMBIENT_SOUND):void [static]
Enable mute button for AIR apps
| Mute | ||
| Constant | Defined By | ||
|---|---|---|---|
| AMBIENT_SOUND : String = AMBIENT_SOUND [static]
App sound mute when mute button is switch off. | Mute | ||
| EXTENSION_ID : String = com.devilishgames.nativeextensions.mute [static]
Extension ID
| Mute | ||
| MEDIA_PLAYBACK : String = MEDIA_PLAYBACK [static]
App sound don't mute when mute button is switch off. | Mute | ||
| SOLO_AMBIENT_SOUND : String = SOLO_AMBIENT_SOUND [static]
App sound mute when mute button is switch off. | Mute | ||
| VERSION : String = 1.0.0 [static]
Current Native Extension version
| Mute | ||
| Enable | () | method |
public static function Enable(type:String = SOLO_AMBIENT_SOUND):voidEnable mute button for AIR apps
Parameters
type:String (default = SOLO_AMBIENT_SOUND) — Set behavior of the app with mute button and other apps
|
See also
| AMBIENT_SOUND | Constant |
public static const AMBIENT_SOUND:String = AMBIENT_SOUNDApp sound mute when mute button is switch off. If same app, like Spotify, iPod, is playing music don't silence the app.
| EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.devilishgames.nativeextensions.muteExtension ID
| MEDIA_PLAYBACK | Constant |
public static const MEDIA_PLAYBACK:String = MEDIA_PLAYBACKApp sound don't mute when mute button is switch off. If same app, like Spotify, iPod, is playing music, this usually silence the app.
| SOLO_AMBIENT_SOUND | Constant |
public static const SOLO_AMBIENT_SOUND:String = SOLO_AMBIENT_SOUNDApp sound mute when mute button is switch off. If same app, like Spotify, iPod, is playing music, this silence the app.
| VERSION | Constant |
public static const VERSION:String = 1.0.0Current Native Extension version
Mute.Enable(Mute.SOLO_AMBIENT_SOUND);