語言

RemoteInput.ResultKey 屬性

定義

取得該輸入結果將從 Bundle 中設定的密鑰,該 Bundle #getResultsFromIntent 在傳送時 android.app.PendingIntent 會被設定。

public string? ResultKey { [Android.Runtime.Register("getResultKey", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getResultKey", "()Ljava/lang/String;", "")>]
member this.ResultKey : string

屬性值

屬性

備註

取得這個輸入結果會被設定在 PendingIntent 時,getResultsFromIntent(Intent) 回傳的 Bundle 中的鍵。

Android 參考資料。android.app.RemoteInput.getResultKey

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

適用於