Sdílet prostřednictvím


ServiceDiscoveryInfo.GetServiceSpecificInfo Method

Definition

The service specific information (arbitrary byte array) provided by the peer as part of its discovery configuration.

[Android.Runtime.Register("getServiceSpecificInfo", "()[B", "", ApiSince=33)]
public byte[]? GetServiceSpecificInfo ();
[<Android.Runtime.Register("getServiceSpecificInfo", "()[B", "", ApiSince=33)>]
member this.GetServiceSpecificInfo : unit -> byte[]

Returns

Byte[]

An arbitrary byte array represent the service specific information. null if service specific information is not set.

Attributes

Remarks

The service specific information (arbitrary byte array) provided by the peer as part of its discovery configuration.

Java documentation for android.net.wifi.aware.ServiceDiscoveryInfo.getServiceSpecificInfo().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to