Package: android.hardware.vr@1.0

IVr

interface IVr

Methods

init

init ()

Convenience method to set up any state needed at runtime startup.This is called once from the VrManagerService during its boot phase.

Details
Annotations
callflow
next= { "*" }
entry
exit

setVrMode

setVrMode (bool enabled)

Set the VR mode state.Possible states of the enabled parameter are:false - VR mode is disabled, turn off all VR-specific settings.true - VR mode is enabled, turn on all VR-specific settings.

This must be called whenever the the Android system enters or leaves VR mode.This will typically occur when the user switches to or from a VR application that is doing stereoscopic rendering.

Details
Parameters
enabled
Annotations
callflow
next= { "*" }
exit