Provides functionality to get the advertising id and tracking status. Supported on iOS and Android. [icon:ios] [icon:android]
Namespace: | adinfo |
Include: | #include <> |
FUNCTIONS | |
---|---|
void adinfo.get() |
void adinfo.get()
Get a table with advertising information. [icon:attention] function returns nil if values do not ready
PARAMETERS
EXAMPLES
function init(self)
adinfo.get(function(self, info)
print(info.ad_ident, info.ad_tracking_enabled)
end)
end