SubscribeConfig.Builder.SetTerminateNotificationEnabled(Boolean) 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.
Configure whether a subscribe terminate notification DiscoverySessionCallback.onSessionTerminated() is reported back to the callback.
[Android.Runtime.Register("setTerminateNotificationEnabled", "(Z)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)]
public Android.Net.Wifi.Aware.SubscribeConfig.Builder? SetTerminateNotificationEnabled(bool enable);
[<Android.Runtime.Register("setTerminateNotificationEnabled", "(Z)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=26)>]
member this.SetTerminateNotificationEnabled : bool -> Android.Net.Wifi.Aware.SubscribeConfig.Builder
Parameters
- enable
- Boolean
If true the terminate callback will be called when the subscribe is terminated. Otherwise it will not be called.
Returns
The builder to facilitate chaining builder.setXXX(..).setXXX(..).
- Attributes
Remarks
Configure whether a subscribe terminate notification DiscoverySessionCallback.onSessionTerminated() is reported back to the callback.
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.