isConsentOptIn
Overview
Returns "consent opt-in status" returned by our server rules. Only returns meaningful information after the rules are downloaded.
Syntax
isConsentOptIn(Callback callback)
CALLBACK(REQUIRED)
Callback<Boolean>. Used to provide the function call result to JavaScript.
Parameters:
boolean - consent opt-in status
Examples
RNAatkit.isConsentOptIn((isConsentOptIn) => {
console.log("isConsentOptIn " + isConsentOptIn);
});
Last updated