java.lang.Object | |
↳ | com.samsung.android.knox.custom.StatusbarIconItem |
This class defines a custom item for status bar icons.
API level 15 |
Version 2.4 |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StatusbarIconItem.AttributeColour | Class for attribute and corresponding color. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | STATUSBAR_ICON_BATTERY_BARS | Statusbar Battery Bars Icon. | |||||||||
int | STATUSBAR_ICON_BATTERY_TEXT | Statusbar Battery Percentage Text Icon. | |||||||||
int | STATUSBAR_ICON_CLOCK_TEXT | Statusbar Clock Text Icon. | |||||||||
int | STATUSBAR_ICON_MOBILE_BARS | Statusbar Mobile Signal Bars Icon. | |||||||||
int | STATUSBAR_ICON_SMART_STAY | Statusbar Smart Stay Icon. | |||||||||
int | STATUSBAR_ICON_WIFI_BARS | Statusbar Wi-Fi Signal Bars Icon. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Class constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Not implemented.
| |||||||||||
This method gets the AttributeColour for specified index within AttributeColour array.
| |||||||||||
This method gets the AttributeColour Array, internal member assigned in the constructor.
| |||||||||||
This method gets the Icon, internal member assigned in the constructor.
| |||||||||||
This method sets the AttributeColour for specified index within AttributeColour array.
| |||||||||||
This method returns the string representation of this class instance.
| |||||||||||
This method flatten this StatusbarIconItem object into a Parcel (out).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Statusbar Battery Bars Icon.
Statusbar Battery Percentage Text Icon.
Statusbar Clock Text Icon.
Statusbar Mobile Signal Bars Icon.
Statusbar Smart Stay Icon.
Statusbar Wi-Fi Signal Bars Icon.
Class constructor.
icon | The status bar icon whose attributes/color is being set. |
---|---|
attributeColor | An array of attributes and corresponding colors. |
StatusbarIconItem.AttributeColour[] batteryColors = new AttributeColour[2]; batteryColors[0] = new StatusbarIconItem.AttributeColour(20, 0xFF8BCC15); batteryColors[1] = new StatusbarIconItem.AttributeColour(40, 0xFFFF3100); StatusbarIconItem batteryBarItem = new StatusbarIconItem(STATUSBAR_ICON_BATTERY_BARS, batteryColors); |
API level 15 |
Version 2.4 |
Not implemented.
API level 15 |
Version 2.4 |
This method gets the AttributeColour for specified index within AttributeColour array.
API level 15 |
Version 2.4 |
This method gets the AttributeColour Array, internal member assigned in the constructor.
API level 15 |
Version 2.4 |
This method gets the Icon, internal member assigned in the constructor.
API level 15 |
Version 2.4 |
This method sets the AttributeColour for specified index within AttributeColour array.
index | Reference to element to be set in AttributeColour array. |
---|---|
attribute | The relevant attribute for status bar icon. |
color | The specified color. |
API level 15 |
Version 2.4 |
This method returns the string representation of this class instance.
API level 15 |
Version 2.4 |
This method flatten this StatusbarIconItem object into a Parcel (out).
out | The parcel where the data is written. |
---|---|
flags | Not used. |
API level 15 |
Version 2.4 |