Notification.Builder.SetLocusId(LocusId) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この通知に関連付けられている値を設定します。
[Android.Runtime.Register("setLocusId", "(Landroid/content/LocusId;)Landroid/app/Notification$Builder;", "GetSetLocusId_Landroid_content_LocusId_Handler", ApiSince=29)]
public virtual Android.App.Notification.Builder SetLocusId(Android.Content.LocusId? locusId);
[<Android.Runtime.Register("setLocusId", "(Landroid/content/LocusId;)Landroid/app/Notification$Builder;", "GetSetLocusId_Landroid_content_LocusId_Handler", ApiSince=29)>]
abstract member SetLocusId : Android.Content.LocusId -> Android.App.Notification.Builder
override this.SetLocusId : Android.Content.LocusId -> Android.App.Notification.Builder
パラメーター
- locusId
- LocusId
中位 Id: この値は null である可能性があります。
返品
この Android.App.Notification.Builder インスタンス。呼び出しをチェーンできます。
- 属性
注釈
この通知に関連付けられている値を設定します。 このメソッドは、デバイスのインテリジェンス サービスがそれらを関連付けることができるように、その他の場所 (ShortcutInfo や ContentCaptureContext など) で 1 つの値を使用する場合に呼び出す必要があります。
android.app.Notification.Builder.setLocusIdの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。