These are features that may be available on some devices but can be enabled or disabled by the
user. Whether a specific feature is supported on a platform can be queried via isFeatureSupported(UserPrefs.RuntimeFeature)
, and whether the feature is enabled by the
user can be queried via isFeatureEnabled(RuntimeFeature)
. requestFeatures(UserPrefs.RuntimeFeature[], UserPrefs.RuntimeFeature[], android.app.PendingIntent)
can be used to ask the user to enable a set of features.
Fields
public final int | id | ID of this RuntimeFeature. |
public final String | tag | Manifest tag for this feature. |
Inherited Methods
Enum Values
public static final UserPrefs.RuntimeFeature GVR_BETA_FEATURE_DAYDREAM_6DOF_CONTROLLER
Whether the user has plugged in a 6DoF Controller.
public static final UserPrefs.RuntimeFeature GVR_BETA_FEATURE_SEE_THROUGH
Whether the user has enabled camera see-through.
Fields
public final int id
ID of this RuntimeFeature. This matches the ID in gvr_types.h.
public final String tag
Manifest tag for this feature. This should be declared as meta-data in your app's manifest.