public static class

Moment.Builder

extends Object
java.lang.Object
   ↳ com.google.android.gms.plus.model.moments.Moment.Builder

Summary

Public Constructors
Moment.Builder()
Constructs a new Builder.
Public Methods
Moment build()
Constructs a Moment with the current properties.
Moment.Builder setId(String id)
The moment ID.
Moment.Builder setResult(ItemScope result)
The object generated by performing the action on the item
Moment.Builder setStartDate(String startDate)
Time stamp of when the action occurred in RFC3339 format.
Moment.Builder setTarget(ItemScope target)
The object on which the action was performed.
Moment.Builder setType(String type)
The schema.org activity type.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Moment.Builder ()

Constructs a new Builder.

Public Methods

public Moment build ()

Constructs a Moment with the current properties.

public Moment.Builder setId (String id)

The moment ID.

public Moment.Builder setResult (ItemScope result)

The object generated by performing the action on the item

public Moment.Builder setStartDate (String startDate)

Time stamp of when the action occurred in RFC3339 format.

public Moment.Builder setTarget (ItemScope target)

The object on which the action was performed.

public Moment.Builder setType (String type)

The schema.org activity type.