語言

Context.ChooserService 欄位

定義

使用 with #getSystemService(String) 來取得 android.service.chooser.ChooserManager。

[Android.Runtime.Register("CHOOSER_SERVICE", ApiSince=36)]
public const string ChooserService;
[<Android.Runtime.Register("CHOOSER_SERVICE", ApiSince=36)>]
val mutable ChooserService : string

欄位值

屬性

備註

使用 with #getSystemService(String) 來取得 android.service.chooser.ChooserManager。

<b>注意:</b> 此服務無法在 Wear OS、Android TV 或 Android Auto 裝置上使用。 在這些規格下,該服務的呼叫 #getSystemService 將會回傳 null。

的 android.content.Context.CHOOSER_SERVICEJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於