BooleanAction 类

定义

用户发送的操作在选中/未选中之间切换 Control

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

注解

用户发送的操作在选中/未选中之间切换 Control

当使用 a 或 a ToggleTemplateToggleRangeTemplate. 构造时Control,可以使用此操作。

适用于 . 的 android.service.controls.actions.BooleanActionJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

构造函数

BooleanAction(String, Boolean)

用户发送的操作在选中/未选中之间切换 Control

BooleanAction(String, Boolean, String)

用户发送的操作在选中/未选中之间切换 Control

字段

ResponseChallengeAck
已过时.

用于ControlsProviderService#performControlAction指示要执行的操作的响应代码consumer,需要用户确认。

(继承自 ControlAction)
ResponseChallengePassphrase
已过时.

指示ControlsProviderService#performControlAction要执行的操作需要字母数字通行短语的响应代码consumer

(继承自 ControlAction)
ResponseChallengePin
已过时.

指示要执行的操作需要 PIN 的响应代码consumerControlsProviderService#performControlAction

(继承自 ControlAction)
ResponseFail
已过时.

指示操作失败的响应代码consumerControlsProviderService#performControlAction

(继承自 ControlAction)
ResponseOk
已过时.

指示已执行操作的响应代码consumerControlsProviderService#performControlAction

(继承自 ControlAction)
ResponseUnknown
已过时.

用户发送的操作在选中/未选中之间切换 Control

(继承自 ControlAction)
TypeBoolean
已过时.

的标识符。BooleanAction

(继承自 ControlAction)
TypeCommand
已过时.

的标识符。CommandAction

(继承自 ControlAction)
TypeError
已过时.

返回 #getErrorAction的操作的标识符。

(继承自 ControlAction)
TypeFloat
已过时.

的标识符。FloatAction

(继承自 ControlAction)
TypeMode
已过时.

的标识符。ModeAction

(继承自 ControlAction)

属性

ActionType

用户发送的操作在选中/未选中之间切换 Control

ChallengeValue

用于对某些操作进行身份验证的质询值(如果可用)。

(继承自 ControlAction)
Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
JniPeerMembers

用户发送的操作在选中/未选中之间切换 Control

NewState

相应 ToggleTemplate按钮的新状态集。

PeerReference

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
TemplateId

发起此操作的 ControlTemplate 标识符

(继承自 ControlAction)
ThresholdClass

用户发送的操作在选中/未选中之间切换 Control

(继承自 ControlAction)
ThresholdType

用户发送的操作在选中/未选中之间切换 Control

(继承自 ControlAction)

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
Dispose(Boolean)

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
Equals(Object)

指示其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用该对象时,由对象上的垃圾回收器调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
Wait()

使当前线程等待,直到唤醒它,通常是通过 em 通知/em> 或 <em>interrupted</em>。<><

(继承自 Object)
Wait(Int64)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)
Wait(Int64, Int32)

使当前线程等待直到唤醒,通常是通过 <em>通知</em> 或 <em interrupted</em>>,或直到经过一定数量的实时。

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.Finalized()

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.JniManagedPeerState

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

用户发送的操作在选中/未选中之间切换 Control

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

用户发送的操作在选中/未选中之间切换 Control

GetJniTypeName(IJavaPeerable)

用户发送的操作在选中/未选中之间切换 Control

适用于