java.lang.Object | |
↳ | com.samsung.android.knox.custom.PowerItem |
This class defines a custom items in the power dialog option.
API level 14 |
Version 2.0 |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ACTION_SEND_BROADCAST | Define a SEND_BROADCAST intent. | |||||||||
int | ACTION_SEND_STICKY_BROADCAST | Define a SEND_STICKY_BROADCAST intent. | |||||||||
int | ACTION_START_ACTIVITY | Define a START_ACTIVITY intent. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Class constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Not implemented.
| |||||||||||
This method gets the Icon, internal member assigned in the constructor.
| |||||||||||
This method gets the Id, internal member assigned in the constructor.
| |||||||||||
This method gets the Intent, internal member assigned in the constructor.
| |||||||||||
This method gets the intent action, internal member assigned in the constructor.
| |||||||||||
This method gets the text string, internal member assigned in the constructor.
| |||||||||||
This method returns the string representation of this class instance.
| |||||||||||
This method flatten this object in to a Parcel (out).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Define a SEND_BROADCAST intent.
Define a SEND_STICKY_BROADCAST intent.
Define a START_ACTIVITY intent.
Class constructor.
id | an item identifier. |
---|---|
icon | the icon drawn on the left of the item. |
intent | the intent fired on user click. |
intentAction | the way the intent is fired, ACTION_SEND_BROADCAST ,
ACTION_SEND_STICKY_BROADCAST or ACTION_START_ACTIVITY . |
text | the text set on the right of the icon. |
PowerItem item = new new PowerItem(1, (BitmapDrawable) getResources().getDrawable(com.test.app), intent, PowerItem.ACTION_START_ACTIVITY, "ACTION_START_ACTIVITY"); |
API level 14 |
Version 2.0 |
Not implemented.
API level 14 |
Version 2.0 |
This method gets the Icon, internal member assigned in the constructor.
API level 14 |
Version 2.0 |
This method gets the Id, internal member assigned in the constructor.
API level 14 |
Version 2.0 |
This method gets the Intent, internal member assigned in the constructor.
API level 14 |
Version 2.0 |
This method gets the intent action, internal member assigned in the constructor.
API level 14 |
Version 2.0 |
This method gets the text string, internal member assigned in the constructor.
API level 14 |
Version 2.0 |
This method returns the string representation of this class instance.
API level 14 |
Version 2.0 |
This method flatten this object in to a Parcel (out).
out | The parcel where the data is written. |
---|---|
flags | Not used. |
API level 14 |
Version 2.0 |