public class

StatusBarPanelCustomTile

extends Object
implements Parcelable
java.lang.Object
   ↳ cyanogenmod.app.StatusBarPanelCustomTile

Class Overview

Class encapsulating a Custom Tile. Sent by the StatusBarManagerService to clients including the status bar panel and any CustomTileListenerService clients.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<StatusBarPanelCustomTile> CREATOR
Public Constructors
StatusBarPanelCustomTile(String pkg, String resPkg, String opPkg, int id, String tag, int uid, int initialPid, CustomTile customTile, UserHandle user)
StatusBarPanelCustomTile(String pkg, String resPkg, String opPkg, int id, String tag, int uid, int initialPid, CustomTile customTile, UserHandle user, long postTime)
StatusBarPanelCustomTile(Parcel in)
Public Methods
StatusBarPanelCustomTile clone()
int describeContents()
CustomTile getCustomTile()
int getId()
The id supplied to CMStatusBarManager
String getKey()
A unique instance key for this tile record.
String getPackage()
The package of the app that posted the tile
long getPostTime()
The time (in currentTimeMillis() time) the CustomTile was published,
String getTag()
The tag supplied to CMStatusBarManager or null if no tag was specified.
UserHandle getUser()
The UserHandle for whom this CustomTile is intended.
int getUserId()
Returns a userHandle for the instance of the app that posted this tile.
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<StatusBarPanelCustomTile> CREATOR

Added in API level 1

Public Constructors

public StatusBarPanelCustomTile (String pkg, String resPkg, String opPkg, int id, String tag, int uid, int initialPid, CustomTile customTile, UserHandle user)

Added in API level 2

public StatusBarPanelCustomTile (String pkg, String resPkg, String opPkg, int id, String tag, int uid, int initialPid, CustomTile customTile, UserHandle user, long postTime)

Added in API level 2

public StatusBarPanelCustomTile (Parcel in)

Added in API level 1

Public Methods

public StatusBarPanelCustomTile clone ()

Added in API level 1

public int describeContents ()

Added in API level 1

public CustomTile getCustomTile ()

Added in API level 1

public int getId ()

Added in API level 1

The id supplied to CMStatusBarManager

public String getKey ()

Added in API level 1

A unique instance key for this tile record.

public String getPackage ()

Added in API level 1

The package of the app that posted the tile

public long getPostTime ()

Added in API level 1

The time (in currentTimeMillis() time) the CustomTile was published,

public String getTag ()

Added in API level 1

The tag supplied to CMStatusBarManager or null if no tag was specified.

public UserHandle getUser ()

Added in API level 1

The UserHandle for whom this CustomTile is intended.

public int getUserId ()

Added in API level 1

Returns a userHandle for the instance of the app that posted this tile.

public void writeToParcel (Parcel out, int flags)

Added in API level 1