MediaRouter.RouteInfo.DeviceType 属性

定义

获取与此路由关联的接收方设备的类型。

public virtual Android.Media.MediaRouterDeviceType DeviceType { [Android.Runtime.Register("getDeviceType", "()I", "GetGetDeviceTypeHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getDeviceType", "()I", "GetGetDeviceTypeHandler", ApiSince=24)>]
member this.DeviceType : Android.Media.MediaRouterDeviceType

属性值

与此路由关联的接收方设备的类型:#DEVICE_TYPE_BLUETOOTH、、#DEVICE_TYPE_TV#DEVICE_TYPE_SPEAKER#DEVICE_TYPE_UNKNOWN

属性

注解

获取与此路由关联的接收方设备的类型。

适用于 . 的 android.media.MediaRouter.RouteInfo.getDeviceType()Java 文档

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

适用于