public class TileServiceManager extends Object
TileServices
make decisions about which tiles
to bind. Also holds on to and manages the TileLifecycleManager
, informing it
of when it is allowed to bind based on decisions frome the TileServices
.Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG |
Modifier and Type | Method and Description |
---|---|
void |
calculateBindPriority(long currentTime) |
void |
clearPendingBind() |
int |
getBindPriority() |
IQSTileService |
getTileService() |
IBinder |
getToken() |
void |
handleDestroy() |
boolean |
hasPendingBind() |
boolean |
isActiveTile() |
void |
setBindAllowed(boolean allowed) |
void |
setBindRequested(boolean bindRequested) |
void |
setLastUpdate(long lastUpdate) |
void |
setShowingDialog(boolean dialog) |
void |
setTileChangeListener(TileLifecycleManager.TileChangeListener changeListener) |
public static final boolean DEBUG
public void setTileChangeListener(TileLifecycleManager.TileChangeListener changeListener)
public boolean isActiveTile()
public void setShowingDialog(boolean dialog)
public IQSTileService getTileService()
public IBinder getToken()
public void setBindRequested(boolean bindRequested)
public void setLastUpdate(long lastUpdate)
public void handleDestroy()
public void setBindAllowed(boolean allowed)
public boolean hasPendingBind()
public void clearPendingBind()
public void calculateBindPriority(long currentTime)
public int getBindPriority()