Share via


TileService.OnStartListening Method

Definition

Called when this tile moves into a listening state.

[Android.Runtime.Register("onStartListening", "()V", "GetOnStartListeningHandler", ApiSince=24)]
public virtual void OnStartListening ();
[<Android.Runtime.Register("onStartListening", "()V", "GetOnStartListeningHandler", ApiSince=24)>]
abstract member OnStartListening : unit -> unit
override this.OnStartListening : unit -> unit
Attributes

Remarks

Called when this tile moves into a listening state. <p/> When this tile is in a listening state it is expected to keep the UI up to date. Any listeners or callbacks needed to keep this tile up to date should be registered here and unregistered in #onStopListening().

Java documentation for android.service.quicksettings.TileService.onStartListening().

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