DeviceTypes 类

定义

的设备 Control类型。

[Android.Runtime.Register("android/service/controls/DeviceTypes", ApiSince=30, DoNotGenerateAcw=true)]
public class DeviceTypes : Java.Lang.Object
[<Android.Runtime.Register("android/service/controls/DeviceTypes", ApiSince=30, DoNotGenerateAcw=true)>]
type DeviceTypes = class
    inherit Object
继承
DeviceTypes
属性

注解

的设备 Control类型。

每个声明 Control 它们所代表的设备的类型。 此类型将用于确定图标和颜色。

设备类型可能会随着 状态更新 Control而更改。 例如, #TYPE_OUTLET 的设备可由 确定 ControlsProviderService 为 , #TYPE_COFFEE_MAKER 并更改该 Control的类型,因此可能会更改图标和颜色。

如果应用程序不知道设备类型,但基本功能为或没有提供类型,则可以使用以) 开头 TYPE_GENERIC 的泛型类型 (之一。 这些图标将基于设备的基本功能提供可识别的图标。

android.service.controls.DeviceTypesJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

构造函数

DeviceTypes(IntPtr, JniHandleOwnership)

的设备 Control类型。

字段

TypeAcHeater
已过时.

的设备 Control类型。

TypeAcUnit
已过时.

的设备 Control类型。

TypeAirFreshener
已过时.

的设备 Control类型。

TypeAirPurifier
已过时.

的设备 Control类型。

TypeAwning
已过时.

的设备 Control类型。

TypeBlinds
已过时.

的设备 Control类型。

TypeCamera
已过时.

的设备 Control类型。

TypeCloset
已过时.

的设备 Control类型。

TypeCoffeeMaker
已过时.

的设备 Control类型。

TypeCurtain
已过时.

的设备 Control类型。

TypeDehumidifier
已过时.

的设备 Control类型。

TypeDishwasher
已过时.

的设备 Control类型。

TypeDisplay
已过时.

的设备 Control类型。

TypeDoor
已过时.

的设备 Control类型。

TypeDoorbell
已过时.

的设备 Control类型。

TypeDrawer
已过时.

的设备 Control类型。

TypeDryer
已过时.

的设备 Control类型。

TypeFan
已过时.

的设备 Control类型。

TypeGarage
已过时.

的设备 Control类型。

TypeGate
已过时.

的设备 Control类型。

TypeGenericArmDisarm
已过时.

的设备 Control类型。

TypeGenericLockUnlock
已过时.

的设备 Control类型。

TypeGenericOnOff
已过时.

的设备 Control类型。

TypeGenericOpenClose
已过时.

的设备 Control类型。

TypeGenericStartStop
已过时.

的设备 Control类型。

TypeGenericTempSetting
已过时.

的设备 Control类型。

TypeGenericViewstream
已过时.

的设备 Control类型。

TypeHeater
已过时.

的设备 Control类型。

TypeHood
已过时.

的设备 Control类型。

TypeHumidifier
已过时.

的设备 Control类型。

TypeKettle
已过时.

的设备 Control类型。

TypeLight
已过时.

的设备 Control类型。

TypeLock
已过时.

的设备 Control类型。

TypeMicrowave
已过时.

的设备 Control类型。

TypeMop
已过时.

的设备 Control类型。

TypeMower
已过时.

的设备 Control类型。

TypeMulticooker
已过时.

的设备 Control类型。

TypeOutlet
已过时.

的设备 Control类型。

TypePergola
已过时.

的设备 Control类型。

TypeRadiator
已过时.

的设备 Control类型。

TypeRefrigerator
已过时.

的设备 Control类型。

TypeRemoteControl
已过时.

的设备 Control类型。

TypeRoutine
已过时.

的设备 Control类型。

TypeSecuritySystem
已过时.

的设备 Control类型。

TypeSetTop
已过时.

的设备 Control类型。

TypeShower
已过时.

的设备 Control类型。

TypeShutter
已过时.

的设备 Control类型。

TypeSprinkler
已过时.

的设备 Control类型。

TypeStandmixer
已过时.

的设备 Control类型。

TypeStyler
已过时.

的设备 Control类型。

TypeSwitch
已过时.

的设备 Control类型。

TypeThermostat
已过时.

的设备 Control类型。

TypeTv
已过时.

的设备 Control类型。

TypeUnknown
已过时.

的设备 Control类型。

TypeVacuum
已过时.

的设备 Control类型。

TypeValve
已过时.

的设备 Control类型。

TypeWasher
已过时.

的设备 Control类型。

TypeWaterHeater
已过时.

的设备 Control类型。

TypeWindow
已过时.

的设备 Control类型。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

的设备 Control类型。

(继承自 Object)
JniPeerMembers

的设备 Control类型。

PeerReference

的设备 Control类型。

(继承自 Object)
ThresholdClass

的设备 Control类型。

ThresholdType

的设备 Control类型。

方法

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)
ValidDeviceType(Int32)

的设备 Control类型。

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类型。

适用于