Share via


DiscoverySessionCallback.OnPublishStarted(PublishDiscoverySession) Method

Definition

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.

Java documentation for android.net.wifi.aware.DiscoverySessionCallback.onPublishStarted(android.net.wifi.aware.PublishDiscoverySession).

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