Language

LogReader.GetRequests(Instant, Instant) Method

Definition

Retrieves a List of RequestLogRecords written by this IsolatedService within the specified time range.

[Android.Runtime.Register("getRequests", "(Ljava/time/Instant;Ljava/time/Instant;)Ljava/util/List;", "GetGetRequests_Ljava_time_Instant_Ljava_time_Instant_Handler", ApiSince=35)]
public virtual System.Collections.Generic.IList<Android.AdServices.OnDevicePersonalization.RequestLogRecord> GetRequests(Java.Time.Instant startTime, Java.Time.Instant endTime);
[<Android.Runtime.Register("getRequests", "(Ljava/time/Instant;Ljava/time/Instant;)Ljava/util/List;", "GetGetRequests_Ljava_time_Instant_Ljava_time_Instant_Handler", ApiSince=35)>]
abstract member GetRequests : Java.Time.Instant * Java.Time.Instant -> System.Collections.Generic.IList<Android.AdServices.OnDevicePersonalization.RequestLogRecord>
override this.GetRequests : Java.Time.Instant * Java.Time.Instant -> System.Collections.Generic.IList<Android.AdServices.OnDevicePersonalization.RequestLogRecord>

Parameters

startTime
Instant

The start of the time range. It must not be before the Unix epoch.

endTime
Instant

The end of the time range. It must be after the start time.

Returns

The request log records that this service wrote in the time range.

Attributes

Remarks

Retrieves a List of RequestLogRecords written by this IsolatedService within the specified time range.

Java documentation for android.adservices.ondevicepersonalization.LogReader.getRequests(java.time.Instant, java.time.Instant).

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