Hide

Moment

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

Nested Class Summary

class Moment.Builder  

Public Method Summary

abstract String
getId()
abstract ItemScope
abstract String
abstract ItemScope
abstract String
abstract boolean
hasId()
abstract boolean
abstract boolean
abstract boolean
abstract boolean

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.