ParcelableExpublic class RemoteViewEx extends Object implements ParcelableEx
Parcel object.| 构造器 | 说明 |
|---|---|
RemoteViewEx(Context context,
ComponentProvider componentProvider) |
Constructs a
RemoteViewEx object. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getRemoteResourceId(int resId) |
Obtains the resource ID that matches a specified ohos resource ID
and can be identified by other systems.
|
void |
marshallingEx(Parcel out) |
Marshals a
componentProvider object and then writes it into a Parcelobject, with name. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunmarshallingExpublic RemoteViewEx(Context context, ComponentProvider componentProvider)
RemoteViewEx object.componentProvider - Indicates the ComponentProvider to be serialized.public void marshallingEx(Parcel out)
componentProvider object and then writes it into a Parcelobject, with name.marshallingEx 在接口中 ParcelableExout - Indicates the object into which the marshaled RemoteViewEx object will be written.public int getRemoteResourceId(int resId)
resId - Indicates the ohos resource ID.