Dela via


HolographicSpace.IsAvailable Property

Definition

Gets whether a Mixed Reality headset is ready for holographic rendering.

public:
 static property bool IsAvailable { bool get(); };
static bool IsAvailable();
public static bool IsAvailable { get; }
var boolean = HolographicSpace.isAvailable;
Public Shared ReadOnly Property IsAvailable As Boolean

Property Value

Boolean

bool

Whether a headset is ready.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

On Desktop PCs, this tells an app whether a Mixed Reality headset is attached to the PC, has been set up by the user, and is ready for holographic rendering. When the headset is detached, this will become false.

On HoloLens, this is always true.

Applies to