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.DeviceTypes JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

建構函式

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 < notified/em > 或 < em > interrupted < /em > 。 ><

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

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

讓目前的執行緒等到喚醒為止,通常是 em < notified/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 裝置類型。

適用於