IsolatedService.GetLogReader(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 DAO for the REQUESTS and EVENTS tables that provides access to the rows that are readable by the IsolatedService.
[Android.Runtime.Register("getLogReader", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/LogReader;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.LogReader GetLogReader (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("getLogReader", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/LogReader;", "", ApiSince=35)>]
member this.GetLogReader : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.LogReader
Parameters
- requestToken
- RequestToken
an opaque token that identifies the current request to the service.
Returns
A LogReader
object that provides access to the REQUESTS and EVENTS table.
The methods in the returned LogReader
are blocking operations and
should be called from a worker thread and not the main thread or a binder thread.
- Attributes
Remarks
Returns a DAO for the REQUESTS and EVENTS tables that provides access to the rows that are readable by the IsolatedService.
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.