QSTile::Host
QSTileHostは、QSTile.Hostインタフェースを実装している。
63 /** Platform implementation of the quick settings tile host **/ 64 public class QSTileHost implements QSTile.Host {
279 public interface Host { 280 void startSettingsActivity(Intent intent); 281 void warn(String message, Throwable t); 282 void collapsePanels(); 283 Looper getLooper(); 284 Context getContext(); 285 Collection<QSTile<?>> getTiles(); 286 void setCallback(Callback callback); 287 BluetoothController getBluetoothController(); 288 LocationController getLocationController(); 289 RotationLockController getRotationLockController(); 290 NetworkController getNetworkController(); 291 ZenModeController getZenModeController(); 292 HotspotController getHotspotController(); 293 CastController getCastController(); 294 FlashlightController getFlashlightController(); 295 KeyguardMonitor getKeyguardMonitor(); 296 297 public interface Callback { 298 void onTilesChanged(); 299 } 300 }