Share via


TileService.OnTileAdded Method

Definition

Called when the user adds this tile to Quick Settings.

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

Remarks

Called when the user adds this tile to Quick Settings. <p/> Note that this is not guaranteed to be called between #onCreate() and #onStartListening(), it will only be called when the tile is added and not on subsequent binds.

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

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