getVRDisplays method

Returns a promise that resolves to an array of VRDisplay objects that are currently connected to the device.

Syntax

var retval = navigator.getVRDisplays();

Parameters

This method has no parameters.

Return value

Type: Promise<sequence<VRDisplay>>

A promise that resolves to an array of VRDisplays.

See also

navigator