Sequenceablepublic class ViewsStatus extends Object implements Sequenceable
AbilityForm client from the supplier.
ViewsStatus is used in the callback method ViewListener#onTouchEvent(AbilityForm, ViewsStatus)
called by the supplier to query the status of components on the client.
SystemCapability.Aafwk#ABILITYSequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
KEY_TEXT |
Indicates the text key contained in the
Intent returned by the
ViewsStatus#getStatusByComponentId(int) method that was called on the AbilityForm supplier. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Intent |
getFullPageIntent() |
Obtains the
Intent for starting full page display on the supplier. |
Intent |
getStatusByComponentId(int componentId) |
Obtains the status of a component based on the specified component ID.
|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic static final String KEY_TEXT
Intent returned by the
ViewsStatus#getStatusByComponentId(int) method that was called on the AbilityForm supplier.public Intent getStatusByComponentId(int componentId)
You can obtain required information based on the keys (for example, ViewsStatus#KEY_TEXT) contained
in the returned Intent object.
componentId - Identifies the component. The value cannot be a negative number.Intent object that contains component information.public Intent getFullPageIntent()
Intent for starting full page display on the supplier.
If the supplier has called AbilityForm#registerViewListener(int, ViewListener) to listen for all click
events of an AbilityForm, it will be notified upon a click event and then use this method to obtain
the Intent for starting full page display. The Intent may contain special Intent
parameters set by the supplier.
Intent used for starting full page display.public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.