DiscoverySessionCallback.OnPublishStarted(PublishDiscoverySession) 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.
Called when a publish operation is started successfully in response to a
WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback,
android.os.Handler)
operation.
[Android.Runtime.Register("onPublishStarted", "(Landroid/net/wifi/aware/PublishDiscoverySession;)V", "GetOnPublishStarted_Landroid_net_wifi_aware_PublishDiscoverySession_Handler", ApiSince=26)]
public virtual void OnPublishStarted (Android.Net.Wifi.Aware.PublishDiscoverySession session);
[<Android.Runtime.Register("onPublishStarted", "(Landroid/net/wifi/aware/PublishDiscoverySession;)V", "GetOnPublishStarted_Landroid_net_wifi_aware_PublishDiscoverySession_Handler", ApiSince=26)>]
abstract member OnPublishStarted : Android.Net.Wifi.Aware.PublishDiscoverySession -> unit
override this.OnPublishStarted : Android.Net.Wifi.Aware.PublishDiscoverySession -> unit
Parameters
- session
- PublishDiscoverySession
The PublishDiscoverySession
used to control the
discovery session.
- Attributes
Remarks
Called when a publish operation is started successfully in response to a WifiAwareSession#publish(PublishConfig, DiscoverySessionCallback, android.os.Handler)
operation.
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.