Packagecom.myflashlab.air.extensions.admob
Classpublic class Settings
InheritanceSettings Inheritance Object

The setting class has been added as an preperation for Admob upgrades for video Ads.



Public Methods
 MethodDefined By
  
Settings($context:ExtensionContext)
Settings
  
setAppMuted($muted:Boolean):void
Set the current app mute state.
Settings
  
setAppVolume($volume:Number):void
Set the current app volume.
Settings
Constructor Detail
Settings()Constructor
public function Settings($context:ExtensionContext)



Parameters
$context:ExtensionContext
Method Detail
setAppMuted()method
public function setAppMuted($muted:Boolean):void

Set the current app mute state.

Parameters

$muted:Boolean — true if the app is muted, false otherwise

setAppVolume()method 
public function setAppVolume($volume:Number):void

Set the current app volume.

Parameters

$volume:Number — the volume as a Number from 0 (muted) to 1 (full media volume)