| Package | com.distriqt.extension.admob.unityads | 
| Class | public final class AdMobUnityAds | 
| Inheritance | AdMobUnityAds  flash.events.EventDispatcher | 
This class represents the AdMobUnityAds extension.
| Property | Defined By | ||
|---|---|---|---|
| implementation : String [read-only] 
		 
		 The implementation currently in use. | AdMobUnityAds | ||
| instance : AdMobUnityAds [static] [read-only] 
		 The singleton instance of the AdMobUnityAds class. | AdMobUnityAds | ||
| isSupported : Boolean [static] [read-only] 
		 Whether the current device supports the extensions functionality
		  | AdMobUnityAds | ||
| nativeVersion : String [read-only] 
		 
		 The native version string of the native extension. | AdMobUnityAds | ||
| service : AdMobUnityAds [static] [read-only] 
		 The singleton instance of the AdMobUnityAds class. | AdMobUnityAds | ||
| version : String [read-only] 
		 
		 The version of this extension. | AdMobUnityAds | ||
| Method | Defined By | ||
|---|---|---|---|
| 
		 Constructor
		 		 You should not call this directly, but instead use the singleton access
		  | AdMobUnityAds | ||
| dispose():void 
		 
		 Disposes the extension and releases any allocated resources. | AdMobUnityAds | ||
| setConsent(granted:Boolean):void 
		 Pass consent information to the Unity Ads SDK. | AdMobUnityAds | ||
| setUSPrivacyConsent(granted:Boolean):void | AdMobUnityAds | ||
| Constant | Defined By | ||
|---|---|---|---|
| EXT_CONTEXT_ID : String = com.distriqt.admob.UnityAds [static]  | AdMobUnityAds | ||
| VERSION : String = 5.16.1 [static]  | AdMobUnityAds | ||
| implementation | property | 
implementation:String  [read-only] 
The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:
AndroidiOSdefaultunknown    public function get implementation():String| instance | property | 
instance:AdMobUnityAds  [read-only] The singleton instance of the AdMobUnityAds class.
    public static function get instance():AdMobUnityAds| Error — If there was a problem creating or accessing the extension, or if the key is invalid | 
| isSupported | property | 
isSupported:Boolean  [read-only] Whether the current device supports the extensions functionality
    public static function get isSupported():Boolean| nativeVersion | property | 
nativeVersion:String  [read-only] 
The native version string of the native extension.
    public function get nativeVersion():String| service | property | 
service:AdMobUnityAds  [read-only] The singleton instance of the AdMobUnityAds class.
    public static function get service():AdMobUnityAds| Error — If there was a problem creating or accessing the extension, or if the key is invalid | 
| version | property | 
version:String  [read-only] 
The version of this extension.
This should be of the format, MAJOR.MINOR.BUILD
    public function get version():String| AdMobUnityAds | () | Constructor | 
public function AdMobUnityAds()Constructor You should not call this directly, but instead use the singleton access
| dispose | () | method | 
 public function dispose():void
		 Disposes the extension and releases any allocated resources. Once this function
		 has been called, a call to init is neccesary again before any of the
		 extensions functionality will work.
		 
| setConsent | () | method | 
 public function setConsent(granted:Boolean):voidPass consent information to the Unity Ads SDK. Should you choose to pass consent information to the Unity Ads SDK manually, it is recommended that this code is called prior to requesting ads via the Google Mobile Ads SDK.
Parameters
| granted:Boolean | 
| setUSPrivacyConsent | () | method | 
 public function setUSPrivacyConsent(granted:Boolean):voidParameters
| granted:Boolean | 
| EXT_CONTEXT_ID | Constant | 
public static const EXT_CONTEXT_ID:String = com.distriqt.admob.UnityAds| VERSION | Constant | 
public static const VERSION:String = 5.16.1