共用方式為


VibrationDevice.RequestAccessAsync 方法

定義

以非同步方式擷取震動裝置的存取狀態。

public:
 static IAsyncOperation<VibrationAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<VibrationAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<VibrationAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Shared Function RequestAccessAsync () As IAsyncOperation(Of VibrationAccessStatus)

傳回

VibrationAccessStatus

屬性

適用於