Język

SdkSandboxManager.ExtraHostToken Field

Definition

The name of key to be used in the Bundle fields of RequestSurfacePackage(String, Bundle, IExecutor, IOutcomeReceiver), its value should present the token returned by HostToken once the SurfaceView has been added to the view hierarchy.

[Android.Runtime.Register("EXTRA_HOST_TOKEN", ApiSince=34)]
public const string ExtraHostToken;
[<Android.Runtime.Register("EXTRA_HOST_TOKEN", ApiSince=34)>]
val mutable ExtraHostToken : string

Field Value

Attributes

Remarks

This constant was deprecated in API level 35. Parameter for RequestSurfacePackage(String, Bundle, IExecutor, IOutcomeReceiver) which is getting deprecated.

The name of key to be used in the Bundle fields of RequestSurfacePackage(String, Bundle, IExecutor, IOutcomeReceiver), its value should present the token returned by HostToken once the SurfaceView has been added to the view hierarchy. Only a non-null value is accepted to enable ANR reporting.

Android reference for android.app.sdksandbox.SdkSandboxManager.EXTRA_HOST_TOKEN.

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