att.request()

Type Function
Revision Release 2022.3683
Keywords Ads, Monetization, Apple, App Tracking Transparency
Platforms iOS, tvOS

Function, with single listener parameter (to att event). This will display the Tracking dialog. Listener will be called with event, which status field corresponds to att.status).

Example

local function listener(e)
    eventText.text = "Status is " .. tostring(e.status)
end
att.request(listener)