Added in API level XE18.1
Definition of platform intent actions and extras.
Constants | ||
---|---|---|
String | ACTIONONHEADSTATECHANGED | Broadcast action: sent when the user starts or stops wearing the device. |
String | EXTRAISON_HEAD | Boolean extra denoting whether the user is wearing the device. |
String | EXTRAPICTUREFILE_PATH | String extra holding the file path of the picture. |
String | EXTRATHUMBNAILFILE_PATH | String extra holding the file path of the thumbnail representing a captured picture or video. |
String | EXTRAVIDEOFILE_PATH | String extra holding the file path of the video. |
Inherited Methods | |
---|---|
From class java.lang.Object | |
Object | clone() |
boolean | equals(Object arg0) |
void | finalize() |
final Class<?> | getClass() |
int | hashCode() |
final void | notify() |
final void | notifyAll() |
String | toString() |
final void | wait() |
final void | wait(long arg0, int arg1) |
final void | wait(long arg0) |
Added in API level XE18.1
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.
Constant Value: "com.google.android.glass.action.ONHEADSTATE_CHANGED”
Added in API level XE18.1
Boolean extra denoting whether the user is wearing the device.
Constant Value: "isonhead”
Added in API level XE18.1
String extra holding the file path of the picture.
Constant Value: "picturefilepath”
Added in API level XE18.1
String extra holding the file path of the thumbnail representing a captured picture or video.
Constant Value: "thumbnailfilepath”
Added in API level XE18.1
String extra holding the file path of the video.
Constant Value: "videofilepath”
Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 4.0 Attribution License.