The Google Glass Explorer Edition SDK is deprecated. This documentation is no longer being maintained. If you're interested in developing Glass solutions for enterprise clients, visit the Google Glass Enterprise Edition developer documentation.

Intents

Added in API level XE18.1

Definition of platform intent actions and extras.

Constants
String ACTION_ON_HEAD_STATE_CHANGED Broadcast action: sent when the user starts or stops wearing the device.
String EXTRA_IS_ON_HEAD Boolean extra denoting whether the user is wearing the device.
String EXTRA_PICTURE_FILE_PATH String extra holding the file path of the picture.
String EXTRA_THUMBNAIL_FILE_PATH String extra holding the file path of the thumbnail representing a captured picture or video.
String EXTRA_VIDEO_FILE_PATH String extra holding the file path of the video.
Inherited Methods

Constants

Added in API level XE18.1

public static final String ACTION_ON_HEAD_STATE_CHANGED

Broadcast action: sent when the user starts or stops wearing the device.

This is a protected intent that can only be sent by the system.

See Also
Constant Value: "com.google.android.glass.action.ON_HEAD_STATE_CHANGED"
Added in API level XE18.1

public static final String EXTRA_IS_ON_HEAD

Boolean extra denoting whether the user is wearing the device.

Constant Value: "is_on_head"
Added in API level XE18.1

public static final String EXTRA_PICTURE_FILE_PATH

String extra holding the file path of the picture.

Constant Value: "picture_file_path"
Added in API level XE18.1

public static final String EXTRA_THUMBNAIL_FILE_PATH

String extra holding the file path of the thumbnail representing a captured picture or video.

Constant Value: "thumbnail_file_path"
Added in API level XE18.1

public static final String EXTRA_VIDEO_FILE_PATH

String extra holding the file path of the video.

Constant Value: "video_file_path"