- Step 1 - Identify the component where RAF is initialized and your app's RAF tracking callback is set.
- Step 2 - Include the
VizbeeClient.brs
as dependency in the xml of scene identified. - Step 3 - Within your RAF traking callback, invoke Vizbee's RAF tracking callback as shown below.
Last active
March 13, 2024 23:29
-
-
Save vizbee/c8e6b912c5611fb65848cfe3dd8f72ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adInterface = Roku_Ads() | |
adInterface.setTrackingCallback(rafAdTrackingCallback) | |
'Your app's RAF callback for ad monitoring | |
sub rafAdTrackingCallback(obj=Invalid as Dynamic, eventType = Invalid as Dynamic, ctx = Invalid as Dynamic) | |
'... | |
'Invoke Vizbee RAF callback to monitor ad status | |
VizbeeClient().vizbeeRAFCallback(obj, eventType, ctx) | |
end sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment