It's happening now, watch the livestream.

BillingClient.ChildDirected

public static abstract @interface BillingClient.ChildDirected
implements Annotation

com.android.billingclient.api.BillingClient.ChildDirected


Developers are able 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.

This is most relevant for Rewarded Skus.

If you set this method to ERROR(/ChildDirected.CHILD_DIRECTED), you will indicate that your ad requests should be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

If you set this method to ERROR(/ChildDirected.NOT_CHILD_DIRECTED), you will indicate that your ad requests should not be treated as child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA).

If you do not set this, ad requests from this session will include no indication of how you would like your app treated with respect to COPPA.

By setting this method, you certify that this notification is accurate and you are authorized to act on behalf of the owner of the app. You understand that abuse of this setting may result in termination of your Google account.

Note: it may take some time for this designation to be fully implemented in applicable Google services.

Summary

Constants

int CHILD_DIRECTED

App indicates its ad requests should be treated as child-directed.

int NOT_CHILD_DIRECTED

App indicates its ad requests should NOT be treated as child-directed.

int UNSPECIFIED

App has not specified whether its ad requests should be treated as child directed or not.

Inherited methods

From interface java.lang.annotation.Annotation

Constants

CHILD_DIRECTED

int CHILD_DIRECTED

App indicates its ad requests should be treated as child-directed.

Constant Value: 1 (0x00000001)

NOT_CHILD_DIRECTED

int NOT_CHILD_DIRECTED

App indicates its ad requests should NOT be treated as child-directed.

Constant Value: 2 (0x00000002)

UNSPECIFIED

int UNSPECIFIED

App has not specified whether its ad requests should be treated as child directed or not.

Constant Value: 0 (0x00000000)