Share via


exitPresent method

The exitPresent method stops presenting the VRDisplay.

Syntax

var retval = VRDisplay.exitPresent();

Parameters

This method has no parameters.

Return value

Type: promise<void>

Resolves once the presentation has stopped.

Remarks

If the VRDisplay is not presenting the promise will be rejected.

See also

VRDisplay