Intents

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)

Constants

Added in API level XE18.1

public static final String ACTIONONHEADSTATECHANGED 

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.ONHEADSTATE_CHANGED”

Added in API level XE18.1

public static final String EXTRAISON_HEAD 

Boolean extra denoting whether the user is wearing the device.

See Also

Constant Value: "isonhead”

Added in API level XE18.1

public static final String EXTRAPICTUREFILE_PATH 

String extra holding the file path of the picture.

See Also

Constant Value: "picturefilepath”

Added in API level XE18.1

public static final String EXTRATHUMBNAILFILE_PATH 

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

See Also

Constant Value: "thumbnailfilepath”

Added in API level XE18.1

public static final String EXTRAVIDEOFILE_PATH 

String extra holding the file path of the video.

See Also

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.