TileService.OnTileAdded 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 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.