語言

CommandAction 類別

定義

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

[Android.Runtime.Register("android/service/controls/actions/CommandAction", ApiSince=30, DoNotGenerateAcw=true)]
public sealed class CommandAction : Android.Service.Controls.Actions.ControlAction
[<Android.Runtime.Register("android/service/controls/actions/CommandAction", ApiSince=30, DoNotGenerateAcw=true)>]
type CommandAction = class
    inherit ControlAction
繼承
屬性

備註

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

Java 文件 android.service.controls.actions.CommandAction。

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

建構函式

名稱 Description
CommandAction(String, String)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

CommandAction(String)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

欄位

名稱 Description
ResponseChallengeAck
已淘汰.

回應代碼consumerControlsProviderService#performControlAction表示,為了執行該動作,必須獲得使用者的確認。

(繼承來源 ControlAction)
ResponseChallengePassphrase
已淘汰.

回應代碼consumerControlsProviderService#performControlAction表示,為了執行該動作,需要一個字母數字密碼短語。

(繼承來源 ControlAction)
ResponseChallengePin
已淘汰.

回應代碼consumerControlsProviderService#performControlAction表示執行動作需要 PIN 碼。

(繼承來源 ControlAction)
ResponseFail
已淘汰.

回應代碼consumerControlsProviderService#performControlAction表示動作失敗。

(繼承來源 ControlAction)
ResponseOk
已淘汰.

回應代碼consumerControlsProviderService#performControlAction表示動作已執行。

(繼承來源 ControlAction)
ResponseUnknown
已淘汰.

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 ControlAction)
TypeBoolean
已淘汰.

的 BooleanAction識別碼。

(繼承來源 ControlAction)
TypeCommand
已淘汰.

的 CommandAction識別碼。

(繼承來源 ControlAction)
TypeError
已淘汰.

動作識別碼由 #getErrorAction返回。

(繼承來源 ControlAction)
TypeFloat
已淘汰.

的 FloatAction識別碼。

(繼承來源 ControlAction)
TypeMode
已淘汰.

的 ModeAction識別碼。

(繼承來源 ControlAction)

屬性

名稱 Description
ActionType

與此類別相關的動作類型。

ChallengeValue

挑戰值用於驗證某些行動(如果有的話)。

(繼承來源 ControlAction)
Class

回傳此 Object的執行時類別。

(繼承來源 Object)
Handle

底層 Android 實例的帳號。

(繼承來源 Object)
JniIdentityHashCode

取得由互通執行時指派給此 Java 對等端的身份雜湊碼。

(繼承來源 Object)
JniManagedPeerState

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
JniPeerMembers

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

PeerReference

取得這個 Java 節點的 JNI 物件參考。

(繼承來源 Object)
TemplateId

發起此行動的識別碼ControlTemplate

(繼承來源 ControlAction)
ThresholdClass

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 ControlAction)
ThresholdType

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 ControlAction)

方法

名稱 Description
Clone()

建立並回傳此物件的副本。

(繼承來源 Object)
Construct(JniObjectReference, JniObjectReferenceOptions)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
Dispose()

釋放該 Java 節點所持有的資源。

(繼承來源 Object)
Dispose(Boolean)

釋放該 Java 節點所持有的資源。

(繼承來源 Object)
DisposeUnlessReferenced()

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
Equals(Object)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
Equals(Object)

表示是否有其他物體「等同」於此物。

(繼承來源 Object)
GetHashCode()

回傳物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()
已淘汰.

當垃圾回收判定該物件不再有相關參考時,由垃圾回收器呼叫。

(繼承來源 Object)
Notify()

喚醒一個正在該物件監視器上等待的執行緒。

(繼承來源 Object)
NotifyAll()

喚醒所有等待該物件監視器的執行緒。

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
ToArray<T>()

從這個 Java 陣列包裝器建立一個受管理陣列。

(繼承來源 Object)
ToString()

回傳物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

將此 Java 節點從互通執行時中取消註冊。

(繼承來源 Object)
Wait()

導致目前執行緒等待被喚醒,通常是透過 <em>通知</><em 或 em>中斷</em> 來喚醒。

(繼承來源 Object)
Wait(Int64, Int32)

會讓目前執行緒等待喚醒,通常是透過 <em>通知</><em 或 em>中斷</em>,或是經過一定的真實時間。

(繼承來源 Object)
Wait(Int64)

會讓目前執行緒等待喚醒,通常是透過 <em>通知</><em 或 em>中斷</em>,或是經過一定的真實時間。

(繼承來源 Object)

明確介面實作

名稱 Description
IJavaPeerable.Disposed()

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
IJavaPeerable.Finalized()

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

(繼承來源 JavaObject)

擴充方法

名稱 Description
GetJniTypeName(IJavaPeerable)

取得實例 self類型的 JNI 名稱。

JavaAs<TResult>(IJavaPeerable)

試著強制self輸入 TResult,檢查 強制在 Java 端是否有效。

JavaCast<TResult>(IJavaObject)

執行 Android 執行時檢查型別轉換。

JavaCast<TResult>(IJavaObject)

簡單ControlAction表示使用者已與Control使用。StatelessTemplate

TryJavaCast<TResult>(IJavaPeerable, TResult)

試著強制self輸入 TResult,檢查 強制在 Java 端是否有效。

適用於