Język

ExecuteOutput.Builder.SetOutputData(Byte[]) Method

Definition

A byte array that an IsolatedService may optionally return to a calling app, by setting this field to a non-null value.

[Android.Runtime.Register("setOutputData", "([B)Landroid/adservices/ondevicepersonalization/ExecuteOutput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.ExecuteOutput.Builder SetOutputData(params byte[]? value);
[<Android.Runtime.Register("setOutputData", "([B)Landroid/adservices/ondevicepersonalization/ExecuteOutput$Builder;", "", ApiSince=35)>]
member this.SetOutputData : byte[] -> Android.AdServices.OnDevicePersonalization.ExecuteOutput.Builder

Parameters

value
Byte[]

Returns

Attributes

Remarks

A byte array that an IsolatedService may optionally return to a calling app, by setting this field to a non-null value. The contents of this array will be returned to the caller of OnDevicePersonalizationManager.execute(ComponentName,PersistableBundle,java.util.concurrent.Executor,OutcomeReceiver) if returning data from isolated processes is allowed by policy and the (calling app package, isolated service package) pair is present in an allowlist that permits data to be returned.

Android reference for android.adservices.ondevicepersonalization.ExecuteOutput.Builder.setOutputData.

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.

Applies to