GetAdSelectionDataRequest.Builder.SetCoordinatorOriginUri(Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the coordinator origin from which PPAPI should fetch the public key for payload encryption.
[Android.Runtime.Register("setCoordinatorOriginUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/GetAdSelectionDataRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.GetAdSelectionDataRequest.Builder SetCoordinatorOriginUri(Android.Net.Uri? coordinatorOriginUri);
[<Android.Runtime.Register("setCoordinatorOriginUri", "(Landroid/net/Uri;)Landroid/adservices/adselection/GetAdSelectionDataRequest$Builder;", "", ApiSince=35)>]
member this.SetCoordinatorOriginUri : Android.Net.Uri -> Android.AdServices.AdSelection.GetAdSelectionDataRequest.Builder
Parameters
- coordinatorOriginUri
- Uri
Returns
- Attributes
Remarks
Sets the coordinator origin from which PPAPI should fetch the public key for payload encryption. The origin must use HTTPS URI.
The origin will only contain the scheme, hostname and port of the URL. If the origin is not provided or is null, PPAPI will use the default coordinator URI.
The origin must belong to a list of pre-approved coordinator origins. Otherwise, AdSelectionManager.getAdSelectionData will throw an IllegalArgumentException
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.