setIsApplicationChildDirected static method
This method allows you to specify whether you would like your
app to be treated as child-directed
for purposes of the Children’s
Online Privacy Protection Act (COPPA)
.
http://business.ftc.gov/privacy-and-security/childrens-privacy
If you call this method with YES
, you are indicating that your app
should be treated as child-directed for purposes of
the Children’s Online Privacy Protection Act (COPPA)
Implementation
/// If you call this method with [YES], you are indicating that your app
/// should be treated as child-directed for purposes of
/// the `Children’s Online Privacy Protection Act (COPPA)`
static void setIsApplicationChildDirected(bool value) {
if (Platform.isIOS && !initialized.value) return;
_channel.invokeMethod('setIsApplicationChildDirected', {
'value': value,
});
}