Android.Service.Chooser 命名空間

類別

名稱 Description
ChooserAction

選擇行動是一種應用程式定義的動作,可以提供給 Android Sharesheet,當使用者被呼叫時 android.content.Intent#ACTION_CHOOSER 顯示給他們。

ChooserAction.Builder

物件建 ChooserAction 構類別

ChooserAction.InterfaceConsts
ChooserManager

管理選擇器會話的建立、追蹤與檢索。

ChooserResult

當系統選擇器選擇某項活動或採取其他行動以完成會話時,向所提供的[意圖發送者]報告事件。

ChooserResult.InterfaceConsts
ChooserSession

一個代表互動式選擇者會議的類別。

ChooserSession.BoundsChangedEventArgs
ChooserSession.StateChangedEventArgs
ChooserSessionToken

一個不透明的標記,作為選擇器會話識別碼。

ChooserSessionToken.InterfaceConsts
ChooserTarget

ChooserTarget 代表由 android.service.chooser.ChooserTargetService返回的應用程式深度連結。

ChooserTarget.InterfaceConsts
ChooserTargetService

當使用者被另一個應用程式明確要求選擇意圖目標時,系統會呼叫該服務。

介面

名稱 Description
ChooserSession.IStateListener

一個用於選擇器會話狀態更新的回調介面。

IAdditionalContentContract

指定 Chooser 在與額外內容提供者互動時所使用的常數,詳見 android.content.Intent#EXTRA_CHOOSER_ADDITIONAL_CONTENT_URI。

IAdditionalContentContract.IColumns
IAdditionalContentContract.ICursorExtraKeys

鍵數的常數 android.database.Cursor#getExtras 。

IAdditionalContentContract.IMethodNames

方法名稱 android.content.ContentResolver#call 的常數。

列舉

名稱 Description
ChooserResultValue
ChooserSessionState