语言

AwareResources(Int32, Int32, Int32) 构造函数

定义

构造一个 AwareResources 对象,该对象表示当前可用的感知资源。

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=31)]
public AwareResources(int availableDataPathsCount, int availablePublishSessionsCount, int availableSubscribeSessionsCount);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=31)>]
new Android.Net.Wifi.Aware.AwareResources : int * int * int -> Android.Net.Wifi.Aware.AwareResources

参数

availableDataPathsCount
Int32

可用感知数据路径数。

availablePublishSessionsCount
Int32

可用的感知发布会话数。

availableSubscribeSessionsCount
Int32

可用的感知订阅会话数。

特性

注解

构造一个 AwareResources 对象,该对象表示当前可用的感知资源。

Java文档android.net.wifi.aware.AwareResources.AwareResources(int, int, int)。

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

适用于