IsolatedService.OnRequest(RequestToken) 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.
Return an instance of an IsolatedWorker
that handles client requests.
[Android.Runtime.Register("onRequest", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/IsolatedWorker;", "GetOnRequest_Landroid_adservices_ondevicepersonalization_RequestToken_Handler", ApiSince=35)]
public abstract Android.AdServices.OnDevicePersonalization.IIsolatedWorker OnRequest (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("onRequest", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/IsolatedWorker;", "GetOnRequest_Landroid_adservices_ondevicepersonalization_RequestToken_Handler", ApiSince=35)>]
abstract member OnRequest : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.IIsolatedWorker
Parameters
- requestToken
- RequestToken
an opaque token that identifies the current request to the service that must be passed to service methods that depend on per-request state.
Returns
- Attributes
Remarks
Return an instance of an IsolatedWorker
that handles client requests.
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.