Constructors
new AdIdRetriever()
new AdIdRetriever(): AdIdRetriever
Returns
AdIdRetrieverMethods
fetchAdvertisingId()
Get the advertising ID. Return the advertising ID regardless of the advertising tracking state. Advertising ID is effective in bidding for “interest-based advertisements” only when advertising tracking is enabled. See more details on when to use advertising ID: https://developer.amazon.com/docs/policy-center/advertising-id.html#when-to-use-the-advertising-idstaticfetchAdvertisingId():string
Returns
string
getMajorVersion()
Get the Major version of the underlying native module. This can be used to make version checks.staticgetMajorVersion():number
Returns
number
getMinorVersion()
Get the Minor version of the underlying native module. This can be used to make version checks.staticgetMinorVersion():number
Returns
number
getPatchVersion()
Get the patch version of the underlying native module. This can be used to make version checks.staticgetPatchVersion():number
Returns
number
isAdvertisingTrackingEnabled()
Get the advertising tracking state. Return true if the user enables advertising tracking. When enabled, the user will see “interest-based advertisements”. When disabled, the user will see “contextual advertisements” (which means the user selected to “opt-out” of interest-based advertisements). See how “opt-out” controls interest-based advertisements: https://developer.amazon.com/docs/policy-center/advertising-id.html#when-to-use-the-advertising-idstaticisAdvertisingTrackingEnabled():boolean
Returns
boolean
