Freigeben über


ExecuteOutput.GetOutputData Method

Definition

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

[Android.Runtime.Register("getOutputData", "()[B", "", ApiSince=35)]
public byte[]? GetOutputData ();
[<Android.Runtime.Register("getOutputData", "()[B", "", ApiSince=35)>]
member this.GetOutputData : unit -> byte[]

Returns

Byte[]
Attributes

Remarks

A byte array that an IsolatedService may optionally return to 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.

Java documentation for android.adservices.ondevicepersonalization.ExecuteOutput.getOutputData().

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