ParcelableEx, Sequenceablepublic final class IntentAgentEx extends Object implements Sequenceable, ParcelableEx
ohos.event.intentagent information. This object
will be marshalled and then transmitted to a process in another platform. After receiving the marshalled object,
that process will unmarshal it and then read the data.SystemCapability.Notification#ANSSequenceable.Producer<T>| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static Sequenceable.Producer<IntentAgentEx> |
PRODUCER |
Creates an
IntentAgentEx instance from a Parcel. |
| 构造器 | 说明 |
|---|---|
IntentAgentEx(IntentAgent agent) |
A parameterized constructor used to create an
IntentAgentEx instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
marshalling(Parcel out) |
Marshals an
IntentAgentEx object into a Parcel. |
void |
marshallingEx(Parcel out) |
Marshals an
IntentAgentEx object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals an
IntentAgentEx object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunmarshallingExhasFileDescriptorpublic static final Sequenceable.Producer<IntentAgentEx> PRODUCER
IntentAgentEx instance from a Parcel.public IntentAgentEx(IntentAgent agent)
IntentAgentEx instance.agent - Indicates the IntentAgent.public boolean marshalling(Parcel out)
IntentAgentEx object into a Parcel.
A process can call the unmarshalling(ohos.utils.Parcel) method to unmarshal an IntentAgentEx object from
a Parcel to implement inter-process communication (IPC).
marshalling 在接口中 Sequenceableout - Indicates the MessageParcel object for marshalling.
MessageParcel is a child class of Parcel.true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
IntentAgentEx object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the MessageParcel object for marshalling.
MessageParcel is a child class of Parcel.true if the unmarshalling is successful; returns false otherwise.public void marshallingEx(Parcel out)
IntentAgentEx object into a Parcel.
A process can call the unmarshalling(ohos.utils.Parcel) method to unmarshal an IntentAgentEx object from
a Parcel to implement inter-process communication (IPC).
marshallingEx 在接口中 ParcelableExout - Indicates the MessageParcel object for marshalling.
MessageParcel is a child class of Parcel.