語言

MatchmakingRequest.Builder.Build 方法

定義

建立 MatchmakingRequest 實例。

[Android.Runtime.Register("build", "()Landroid/health/connect/MatchmakingRequest;", "", ApiSince=37)]
public Android.Health.Connect.MatchmakingRequest Build();
[<Android.Runtime.Register("build", "()Landroid/health/connect/MatchmakingRequest;", "", ApiSince=37)>]
member this.Build : unit -> Android.Health.Connect.MatchmakingRequest

傳回

一個新的 MatchmakingRequest 實例。 這個值不可能為零值。

屬性

備註

建立 MatchmakingRequest 實例。

預設情況下,MatchmakingRequest.Builder().build() 會建立包含空記錄類型、包含與排除資料來源的請求。 詳見 HealthConnectManager.createMatchmakingIntent(MatchmakingRequest)的說明。

Android 參考資料。android.health.connect.MatchmakingRequest.Builder.build

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於