AttachCallback.OnAwareSessionTerminated 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 Aware attach session get from #onAttached(WifiAwareSession)
is
terminated.
[Android.Runtime.Register("onAwareSessionTerminated", "()V", "GetOnAwareSessionTerminatedHandler", ApiSince=33)]
public virtual void OnAwareSessionTerminated ();
[<Android.Runtime.Register("onAwareSessionTerminated", "()V", "GetOnAwareSessionTerminatedHandler", ApiSince=33)>]
abstract member OnAwareSessionTerminated : unit -> unit
override this.OnAwareSessionTerminated : unit -> unit
- Attributes
Remarks
Called when Aware attach session get from #onAttached(WifiAwareSession)
is terminated. Use WifiAwareManager#attach(AttachCallback, Handler)
or WifiAwareManager#attach(AttachCallback, IdentityChangedListener, Handler)
to get a new active session.
Java documentation for android.net.wifi.aware.AttachCallback.onAwareSessionTerminated()
.
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.