ReportSystemUsageRequest.Builder.SetUsageTimestampMillis(Int64) 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.
Sets the timestamp in milliseconds of the usage report (the time at which the document was used).
[Android.Runtime.Register("setUsageTimestampMillis", "(J)Landroid/app/appsearch/ReportSystemUsageRequest$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.ReportSystemUsageRequest.Builder SetUsageTimestampMillis(long usageTimestampMillis);
[<Android.Runtime.Register("setUsageTimestampMillis", "(J)Landroid/app/appsearch/ReportSystemUsageRequest$Builder;", "", ApiSince=31)>]
member this.SetUsageTimestampMillis : int64 -> Android.App.AppSearch.ReportSystemUsageRequest.Builder
Parameters
- usageTimestampMillis
- Int64
Value is a non-negative timestamp measured as the number of milliseconds since 1970-01-01T00:00:00Z.
Returns
- Attributes
Remarks
Sets the timestamp in milliseconds of the usage report (the time at which the document was used). The value is in the System.currentTimeMillis time base. If unset, this defaults to the current timestamp at the time that the ReportSystemUsageRequest is constructed.
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.