日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關咨詢
選擇下列產品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關閉右側工具欄

新聞中心

這里有您想知道的互聯網營銷解決方案
創(chuàng)新互聯鴻蒙OS教程:鴻蒙OSCommonEventInfo

CommonEventInfo

創(chuàng)新互聯建站是專業(yè)的金昌網站建設公司,金昌接單;提供成都做網站、網站建設,網頁設計,網站設計,建網站,PHP網站建設等專業(yè)做網站服務;采用PHP框架,可快速的進行金昌網站開發(fā)網頁制作和功能擴展;專業(yè)做搜索引擎喜愛的網站,專業(yè)的做網站團隊,希望更多企業(yè)前來合作!

java.lang.Object

|---ohos.bundle.CommonEventInfo

public class CommonEventInfo
extends Object
implements Sequenceable

提供獲取靜態(tài)公共事件配置信息的方法,包括包名、類名和權限。

嵌套類摘要

從接口 ohos.utils.Sequenceable 繼承的嵌套類/接口
Sequenceable.ProducerT

字段摘要

修飾符和類型 字段 描述
static Sequenceable.ProducerCommonEventInfoPRODUCER從 Parcel 創(chuàng)建一個 CommonEventInfo 實例。

構造函數摘要

構造函數 描述
CommonEventInfo()用于創(chuàng)建 CommonEventInfo 實例的默認構造函數,用于存儲有關靜態(tài)公共事件的配置信息。
CommonEventInfo(CommonEventInfo source)用于通過從現有參數復制參數來創(chuàng)建 CommonEventInfo 實例的構造函數。

方法總結

修飾符和類型 方法 描述
StringgetBundleName()獲取此靜態(tài)公共事件的捆綁包名稱。
StringgetClassName()獲取此靜態(tài)公共事件的類名。
ListStringgetData()獲取此靜態(tài)公共事件中包含的附加數據列表。
ListStringgetEvents()獲取此靜態(tài)公共事件中包含的事件列表。
StringgetPermission()獲取實現該靜態(tài)公共事件所需的權限。
ListStringgetType()獲取此靜態(tài)公共事件中定義的類型列表。
intgetUid()獲取此靜態(tài)公共事件的 UID。
booleanmarshalling(Parcel out)將此 Sequenceable 對象編組為 Parcel。
booleanunmarshalling(Parcel in)從 Parcel 中解組此 Sequenceable 對象。
從類 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
從接口 ohos.utils.Sequenceable 繼承的方法
hasFileDescriptor

字段詳細信息

PRODUCER

public static final Sequenceable.ProducerCommonEventInfo PRODUCER

從 Parcel 創(chuàng)建一個 CommonEventInfo 實例。

構造函數詳細信息

CommonEventInfo

public CommonEventInfo()

用于創(chuàng)建 CommonEventInfo 實例的默認構造函數,用于存儲有關靜態(tài)公共事件的配置信息。

CommonEventInfo

public CommonEventInfo(CommonEventInfo source)

用于通過從現有參數復制參數來創(chuàng)建 CommonEventInfo 實例的構造函數。

參數:

參數名稱 參數描述
source指示現有的 CommonEventInfo 實例。

方法詳情

getBundleName

public String getBundleName()

獲取此靜態(tài)公共事件的捆綁包名稱。

返回:

返回此靜態(tài)公共事件的包名稱。

getUid

public int getUid()

獲取此靜態(tài)公共事件的 UID。 UID 是分配給應用程序的用戶 ID。

返回:

返回此靜態(tài)公共事件的 UID。

getClassName

public String getClassName()

獲取此靜態(tài)公共事件的類名。

返回:

返回此靜態(tài)公共事件的類名。

getPermission

public String getPermission()

獲取實現該靜態(tài)公共事件所需的權限。

返回:

返回實現此靜態(tài)公共事件所需的權限。

getData

public ListString getData()

獲取此靜態(tài)公共事件中包含的附加數據列表。

返回:

返回此靜態(tài)公共事件中包含的附加數據列表。

getType

public ListString getType()

獲取此靜態(tài)公共事件中定義的類型列表。

返回:

返回此靜態(tài)公共事件中定義的類型列表。

getEvents

public ListString getEvents()

獲取此靜態(tài)公共事件中包含的事件列表。

返回:

返回此靜態(tài)公共事件中包含的事件列表。

marshalling

public boolean marshalling(Parcel out)

從接口復制的描述:Sequenceable

將此 Sequenceable 對象編組為 Parcel。

指定者:

接口 Sequenceable 中的編組

參數:

參數名稱 參數描述
out指示將 Sequenceable 對象編組到的 Parcel 對象。

返回:

如果編組成功,則返回 true; 否則返回 false。

unmarshalling

public boolean unmarshalling(Parcel in)

從接口復制的描述:Sequenceable

從 Parcel 中解組此 Sequenceable 對象。

指定者:

在接口 Sequenceable 中解組

參數:

參數名稱 參數描述
in指示已將 Sequenceable 對象編組到的 Parcel 對象。

返回:

如果解組成功,則返回 true; 否則返回 false。


當前文章:創(chuàng)新互聯鴻蒙OS教程:鴻蒙OSCommonEventInfo
URL鏈接:http://m.5511xx.com/article/cdcpspi.html