HolographicApplicationPreview 类

定义

提供预览功能,使应用能够与全息 shell 交互,使用户能够查看周围世界中的内容。

public ref class HolographicApplicationPreview abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicApplicationPreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class HolographicApplicationPreview
Public Class HolographicApplicationPreview
继承
Object Platform::Object IInspectable HolographicApplicationPreview
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

方法

IsCurrentViewPresentedOnHolographicDisplay()

获取当前应用视图是否将显示在混合现实头戴显示设备中。

IsHolographicActivation(IActivatedEventArgs)

获取给定应用激活是否以全息 shell 为目标。

适用于