IsolatedService.GetLocalData(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.
Returns a Data Access Object for the LOCAL_DATA table.
[Android.Runtime.Register("getLocalData", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/MutableKeyValueStore;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.IMutableKeyValueStore GetLocalData (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("getLocalData", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/MutableKeyValueStore;", "", ApiSince=35)>]
member this.GetLocalData : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.IMutableKeyValueStore
Parameters
- requestToken
- RequestToken
an opaque token that identifies the current request to the service.
Returns
A MutableKeyValueStore
object that provides access to the LOCAL_DATA table.
The methods in the returned MutableKeyValueStore
are blocking operations and
should be called from a worker thread and not the main thread or a binder thread.
- Attributes
Remarks
Returns a Data Access Object for the LOCAL_DATA table. The LOCAL_DATA table is a persistent key-value store that the service can use to store any data. The contents of this table are visible only to the service running in an isolated process and cannot be sent outside the device.
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.