Constants

USER_AGENT → String

'dart-api-client mirror/v1'

Classes

Account

Represents an account passed into the Account Manager on Glass.

AccountsResourceApi

Attachment

Represents media content, such as a photo, that can be attached to a timeline item.

AttachmentsListResponse

A list of Attachments. This is the response from the server to GET requests on the attachments collection.

AuthToken

ByteRange

Specifies a range of media.

Command

A single menu command that is part of a Contact.

Contact

A person or group that can be used as a creator or a contact.

ContactsListResponse

A list of Contacts representing contacts. This is the response from the server to GET requests on the contacts collection.

ContactsResourceApi

DownloadOptions

Represents options for downloading media.

Location

A geographic location that can be associated with a timeline item.

LocationsListResponse

A list of Locations. This is the response from the server to GET requests on the locations collection.

LocationsResourceApi

Media

Represents a media consisting of a stream of bytes, a content type and a length.

A custom menu item that can be presented to the user by a timeline item.

A single value that is part of a MenuItem.

MirrorApi

API for interacting with Glass users via the timeline.

Notification

A notification delivered by the API.

NotificationConfig

Controls how notifications for a timeline item are presented to the user.

PartialDownloadOptions

Options for downloading a Media.

ResumableUploadOptions

Specifies options for resumable uploads.

Setting

A setting for Glass.

SettingsResourceApi

Subscription

A subscription to events on a collection.

SubscriptionsListResponse

A list of Subscriptions. This is the response from the server to GET requests on the subscription collection.

SubscriptionsResourceApi

TimelineAttachmentsResourceApi

TimelineItem

Each item in the user's timeline is represented as a TimelineItem JSON structure, described below.

TimelineListResponse

A list of timeline items. This is the response from the server to GET requests on the timeline collection.

TimelineResourceApi

UploadOptions

Represents options for uploading a Media.

UserAction

Represents an action taken by the user that triggered a notification.

UserData

Exceptions / Errors

ApiRequestError

Represents a general error reported by the API endpoint.

DetailedApiRequestError

Represents a specific error reported by the API endpoint.