public interface

Moment

implements Freezable<Moment>
com.google.android.gms.plus.model.moments.Moment

Summary

Nested Classes
class Moment.Builder  
Public Methods
abstract String getId()
The moment ID.
abstract ItemScope getResult()
The object generated by performing the action on the target.
abstract String getStartDate()
Time stamp of when the action occurred in RFC3339 format.
abstract ItemScope getTarget()
The object on which the action was performed.
abstract String getType()
The Google schema for the type of moment to write.
abstract boolean hasId()
Indicates whether the "id" field is explicitly set to a value.
abstract boolean hasResult()
Indicates whether the "result" field is explicitly set to a value.
abstract boolean hasStartDate()
Indicates whether the "startDate" field is explicitly set to a value.
abstract boolean hasTarget()
Indicates whether the "target" field is explicitly set to a value.
abstract boolean hasType()
Indicates whether the "type" field is explicitly set to a value.
[Expand]
Inherited Methods
From interface com.google.android.gms.common.data.Freezable

Public Methods

public abstract String getId ()

The moment ID.

public abstract ItemScope getResult ()

The object generated by performing the action on the target. For example, a user writes a review of a restaurant, the target is the restaurant and the result is the review.

public abstract String getStartDate ()

Time stamp of when the action occurred in RFC3339 format.

public abstract ItemScope getTarget ()

The object on which the action was performed.

public abstract String getType ()

The Google schema for the type of moment to write. For example, http://schemas.google.com/AddActivity.

public abstract boolean hasId ()

Indicates whether the "id" field is explicitly set to a value.

public abstract boolean hasResult ()

Indicates whether the "result" field is explicitly set to a value.

public abstract boolean hasStartDate ()

Indicates whether the "startDate" field is explicitly set to a value.

public abstract boolean hasTarget ()

Indicates whether the "target" field is explicitly set to a value.

public abstract boolean hasType ()

Indicates whether the "type" field is explicitly set to a value.