parent
08ad4ab5f1
commit
0e3124cba0
8 changed files with 98 additions and 1 deletions
@ -0,0 +1,35 @@ |
|||||||
|
package com.example.contact_tracing |
||||||
|
|
||||||
|
import android.service.quicksettings.TileService |
||||||
|
|
||||||
|
class MainTileService: TileService(){ |
||||||
|
/* |
||||||
|
override fun onClick() { |
||||||
|
super.onClick() |
||||||
|
} |
||||||
|
|
||||||
|
override fun onTileRemoved() { |
||||||
|
super.onTileRemoved() |
||||||
|
|
||||||
|
// Do something when the user removes the Tile |
||||||
|
} |
||||||
|
|
||||||
|
override fun onTileAdded() { |
||||||
|
super.onTileAdded() |
||||||
|
|
||||||
|
// Do something when the user add the Tile |
||||||
|
} |
||||||
|
|
||||||
|
override fun onStartListening() { |
||||||
|
super.onStartListening() |
||||||
|
|
||||||
|
// Called when the Tile becomes visible |
||||||
|
} |
||||||
|
|
||||||
|
override fun onStopListening() { |
||||||
|
super.onStopListening() |
||||||
|
|
||||||
|
// Called when the tile is no longer visible |
||||||
|
} |
||||||
|
*/ |
||||||
|
} |
||||||
Reference in new issue