SubscribeConfig.Builder.SetServiceSpecificInfo(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specify service specific information for the subscribe session.
[Android.Runtime.Register("setServiceSpecificInfo", "([B)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)]
public Android.Net.Wifi.Aware.SubscribeConfig.Builder? SetServiceSpecificInfo(byte[]? serviceSpecificInfo);
[<Android.Runtime.Register("setServiceSpecificInfo", "([B)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)>]
member this.SetServiceSpecificInfo : byte[] -> Android.Net.Wifi.Aware.SubscribeConfig.Builder
Parameters
- serviceSpecificInfo
- Byte[]
A byte-array for the service-specific information field. This value may be null.
Returns
The builder to facilitate chaining builder.setXXX(..).setXXX(..).
- Attributes
Remarks
Specify service specific information for the subscribe session. This is a free-form byte array available to the application to send additional information as part of the discovery operation - i.e. it will not be used to determine whether a publish/subscribe match occurs.
Optional. Empty by default.
Android reference for android.net.wifi.aware.SubscribeConfig.Builder.setServiceSpecificInfo.
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.