WiFiDirectServiceAdvertiser.ServiceStatus 属性

定义

获取或设置服务状态。

public:
 property WiFiDirectServiceStatus ServiceStatus { WiFiDirectServiceStatus get(); void set(WiFiDirectServiceStatus value); };
WiFiDirectServiceStatus ServiceStatus();

void ServiceStatus(WiFiDirectServiceStatus value);
public WiFiDirectServiceStatus ServiceStatus { get; set; }
var wiFiDirectServiceStatus = wiFiDirectServiceAdvertiser.serviceStatus;
wiFiDirectServiceAdvertiser.serviceStatus = wiFiDirectServiceStatus;
Public Property ServiceStatus As WiFiDirectServiceStatus

属性值

对应于服务状态的枚举值。 请注意,如果此值为 Custom,则 CustomServiceStatusCode 属性会提供实际的自定义状态代码值。

适用于