Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 700054431
  • Loading branch information
Justin Malandruccolo authored and copybara-github committed Nov 25, 2024
1 parent 4befed4 commit ab7cc03
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,15 @@ public boolean canRequestAds() {
return consentInformation.canRequestAds();
}

// [START is_privacy_options_required]
/** Helper variable to determine if the privacy options form is required. */
public boolean isPrivacyOptionsRequired() {
return consentInformation.getPrivacyOptionsRequirementStatus()
== PrivacyOptionsRequirementStatus.REQUIRED;
}

// [END is_privacy_options_required]

/**
* Helper method to call the UMP SDK methods to request consent information and load/present a
* consent form if necessary.
Expand Down

0 comments on commit ab7cc03

Please sign in to comment.