Share via


DiscoverySessionCallback.OnSubscribeStarted(SubscribeDiscoverySession) Method

Definition

Called when a subscribe operation is started successfully in response to a WifiAwareSession#subscribe(SubscribeConfig, DiscoverySessionCallback, android.os.Handler) operation.

[Android.Runtime.Register("onSubscribeStarted", "(Landroid/net/wifi/aware/SubscribeDiscoverySession;)V", "GetOnSubscribeStarted_Landroid_net_wifi_aware_SubscribeDiscoverySession_Handler", ApiSince=26)]
public virtual void OnSubscribeStarted (Android.Net.Wifi.Aware.SubscribeDiscoverySession session);
[<Android.Runtime.Register("onSubscribeStarted", "(Landroid/net/wifi/aware/SubscribeDiscoverySession;)V", "GetOnSubscribeStarted_Landroid_net_wifi_aware_SubscribeDiscoverySession_Handler", ApiSince=26)>]
abstract member OnSubscribeStarted : Android.Net.Wifi.Aware.SubscribeDiscoverySession -> unit
override this.OnSubscribeStarted : Android.Net.Wifi.Aware.SubscribeDiscoverySession -> unit

Parameters

session
SubscribeDiscoverySession

The SubscribeDiscoverySession used to control the discovery session.

Attributes

Remarks

Called when a subscribe operation is started successfully in response to a WifiAwareSession#subscribe(SubscribeConfig, DiscoverySessionCallback, android.os.Handler) operation.

Java documentation for android.net.wifi.aware.DiscoverySessionCallback.onSubscribeStarted(android.net.wifi.aware.SubscribeDiscoverySession).

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