L2capNetworkSpecifier.RemoteAddress 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回要连接到的此网络的远程 MAC 地址。
public Android.Net.MacAddress? RemoteAddress { [Android.Runtime.Register("getRemoteAddress", "()Landroid/net/MacAddress;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getRemoteAddress", "()Landroid/net/MacAddress;", "", ApiSince=36)>]
member this.RemoteAddress : Android.Net.MacAddress
属性值
客户端网络的远程蓝牙 MAC 地址,如果未指定或编辑,则为 null。
- 特性
注解
返回要连接到的此网络的远程 MAC 地址。
远程地址仅对具有ROLE_CLIENT的网络有意义。
从连接 API(如 aL2capNetworkSpecifier)接收此ConnectivityManager.NetworkCallback地址时,将编辑 MAC 地址。
Java文档android.net.L2capNetworkSpecifier.getRemoteAddress()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。