语言

Control.DeviceType 属性

定义

获取用于选择默认图标和颜色的设备类型。

public int DeviceType { [Android.Runtime.Register("getDeviceType", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getDeviceType", "()I", "", ApiSince=30)>]
member this.DeviceType : int

属性值

由此 Control表示的设备类型,用于确定默认图标和颜色

特性

注解

Java文档android.service.controls.Control.getDeviceType()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于