Moment | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Nested Classes | Methods | Inherited Methods | [Expand All]
public interface

# Moment

implements Freezable<T>

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 item
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 schema.org activity type.
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
abstract T | freeze() Freeze a volatile representation into an immutable representation.

## Public Methods

#### public abstract String getId ()

The moment ID.

#### public abstract ItemScope getResult ()

The object generated by performing the action on the item

#### 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 schema.org activity type.

#### 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.