A request to report usage of a document.
See
AppSearchClient.reportUsage(ReportUsageRequest, String)
for a detailed description
of usage reporting.
Nested Class Summary
class | ReportUsageRequest.Builder | Builder for ReportUsageRequest
objects. |
Inherited Constant Summary
Field Summary
public static final Creator<ReportUsageRequest> | CREATOR |
Public Method Summary
String |
getDocumentId()
Returns the ID of document that was used.
|
String |
getNamespace()
Returns the namespace of the document that was used.
|
long |
getUsageTimestampMillis()
Returns the timestamp in milliseconds of the usage report (the time at which
the document was used).
|
void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<ReportUsageRequest> CREATOR
Public Methods
public String getDocumentId ()
Returns the ID of document that was used.
public String getNamespace ()
Returns the namespace of the document that was used.
public long getUsageTimestampMillis ()
Returns 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.