PersistAdSelectionResultRequest.Builder.SetAdSelectionResult(Byte[]) 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 ad selection result data for the request.
[Android.Runtime.Register("setAdSelectionResult", "([B)Landroid/adservices/adselection/PersistAdSelectionResultRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.PersistAdSelectionResultRequest.Builder SetAdSelectionResult(byte[]? adSelectionResult);
[<Android.Runtime.Register("setAdSelectionResult", "([B)Landroid/adservices/adselection/PersistAdSelectionResultRequest$Builder;", "", ApiSince=35)>]
member this.SetAdSelectionResult : byte[] -> Android.AdServices.AdSelection.PersistAdSelectionResultRequest.Builder
Parameters
- adSelectionResult
- Byte[]
The result bytes, or null to clear the value.
Returns
This builder.
- Attributes
Remarks
In the Android 16 AOSP implementation, the Java method copies a non-null byte array before it stores the result.