Share via


ExecuteInIsolatedServiceResponse Constructors

Definition

Overloads

ExecuteInIsolatedServiceResponse(SurfacePackageToken, Int32)

Creates a new ExecuteInIsolatedServiceResponse.

[Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/SurfacePackageToken;I)V", "", ApiSince=36)]
public ExecuteInIsolatedServiceResponse(Android.AdServices.OnDevicePersonalization.SurfacePackageToken? surfacePackageToken, int bestValue);
[<Android.Runtime.Register(".ctor", "(Landroid/adservices/ondevicepersonalization/SurfacePackageToken;I)V", "", ApiSince=36)>]
new Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceResponse : Android.AdServices.OnDevicePersonalization.SurfacePackageToken * int -> Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceResponse

Parameters

surfacePackageToken
SurfacePackageToken

an opaque reference to content that can be displayed in a android.view.SurfaceView. This may be null if the IsolatedService has not generated any content to be displayed within the calling app.

bestValue
Int32

an int value that was returned by the IsolatedService and applied noise.If ExecuteInIsolatedServiceRequest output type is set to ExecuteInIsolatedServiceRequest.OutputSpec#OUTPUT_TYPE_NULL, the platform ignores the data returned by IsolatedService and returns the default value #DEFAULT_BEST_VALUE. If ExecuteInIsolatedServiceRequest output type is set to ExecuteInIsolatedServiceRequest.OutputSpec#OUTPUT_TYPE_BEST_VALUE, the platform validates ExecuteOutput#getBestValue between 0 and ExecuteInIsolatedServiceRequest.OutputSpec#getMaxIntValue and applies noise to result.

Attributes

Remarks

Creates a new ExecuteInIsolatedServiceResponse.

Java documentation for android.adservices.ondevicepersonalization.ExecuteInIsolatedServiceResponse.ExecuteInIsolatedServiceResponse(android.adservices.ondevicepersonalization.SurfacePackageToken, int).

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

ExecuteInIsolatedServiceResponse(IntPtr, JniHandleOwnership)

protected ExecuteInIsolatedServiceResponse(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceResponse : nativeint * Android.Runtime.JniHandleOwnership -> Android.AdServices.OnDevicePersonalization.ExecuteInIsolatedServiceResponse

Parameters

javaReference
IntPtr

nativeint

Applies to