Language

PublishConfig.Builder.SetPublishType(PublishType) Method

Definition

[Android.Runtime.Register("setPublishType", "(I)Landroid/net/wifi/aware/PublishConfig$Builder;", "", ApiSince=26)]
public Android.Net.Wifi.Aware.PublishConfig.Builder? SetPublishType(Android.Net.Wifi.Aware.PublishType publishType);
[<Android.Runtime.Register("setPublishType", "(I)Landroid/net/wifi/aware/PublishConfig$Builder;", "", ApiSince=26)>]
member this.SetPublishType : Android.Net.Wifi.Aware.PublishType -> Android.Net.Wifi.Aware.PublishConfig.Builder

Parameters

publishType
PublishType

Publish session type: PublishConfig.PUBLISH_TYPE_SOLICITED or PublishConfig.PUBLISH_TYPE_UNSOLICITED (the default). Value is one of the following: PublishConfig.PUBLISH_TYPE_UNSOLICITED; PublishConfig.PUBLISH_TYPE_SOLICITED

Returns

The builder to facilitate chaining builder.setXXX(..).setXXX(..).

Attributes

Remarks

Android reference for android.net.wifi.aware.PublishConfig.Builder.setPublishType.

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