Share via


HolographicKeyboardPlacementOverridePreview Class

Definition

Provides preview functionality that let apps influence the placement of the system keyboard in the holographic shell. This API is available only to a limited set of apps while in the preview phase.

public ref class HolographicKeyboardPlacementOverridePreview sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HolographicKeyboardPlacementOverridePreview final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.Holographic.HolographicKeyboard instead of Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
class HolographicKeyboardPlacementOverridePreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HolographicKeyboardPlacementOverridePreview
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.Holographic.HolographicKeyboard instead of Windows.ApplicationModel.Preview.Holographic.HolographicKeyboardPlacementOverridePreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public sealed class HolographicKeyboardPlacementOverridePreview
Public NotInheritable Class HolographicKeyboardPlacementOverridePreview
Inheritance
Object Platform::Object IInspectable HolographicKeyboardPlacementOverridePreview
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Methods

GetForCurrentView()

Gets an object that allows for override of the placement of the system keyboard in the holographic shell while the current view is visible. This API is available only to a limited set of apps while in the preview phase.

ResetPlacementOverride()

Resets the placement of the system keyboard in the holographic shell to its natural position. This API is available only to a limited set of apps while in the preview phase.

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3, Vector2)

Overrides the placement of the system keyboard to appear at a specific position and orientation, setting a custom maximum keyboard size. This API is available only to a limited set of apps while in the preview phase.

SetPlacementOverride(SpatialCoordinateSystem, Vector3, Vector3)

Overrides the placement of the system keyboard to appear at a specific position and orientation, while keeping its natural size. This API is available only to a limited set of apps while in the preview phase.

Applies to