vsping - 国外主机测评,国外VPS,国外服务器,国外云服务器,测评及优惠码vsping - 国外主机测评,国外VPS,国外服务器,国外云服务器,测评及优惠码国外主机测评 - 国外VPS,国外服务器,国外云服务器,测评及优惠码

鸿蒙OS FormInfo

FormInfo java.lang.Object |—ohos.bundle.FormInfo public class FormInfo extends Object implements Sequenceable 提供有关表单的信息 嵌套类摘要 修饰符和类型 类 描述 class FormInfo.CustomizeData 定义自定义数据。 static class FormInfo.FormType 枚举表单的类型。 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 static Sequenceable.ProducerFormInfo PRODUCER 从 Parcel 对象创建 FormInfo 对象。 构造函数摘要 构造函数 描述 FormInfo() 用于创建 FormInfo 实例的默认构造函数。 FormInfo(FormInfo source) 用于通过复制现有实例的属性来创建 FormInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 String getAbilityName() 获取该表单所属ability的类名。 String getBundleName() 获取此表单所属的应用程序的捆绑包名称。 String getColorMode() 获取此表单的颜色模式。 MapString,String getCustomizeDatas() 获取此表单中定义的自定义数据。 String getDeepLink() 已弃用。 此更改从 API 版本 5 开始生效。由 getFormConfigAbility() 替换 int getDefaultDimension() 获取此表单的默认网格样式。 String getDescription() 获取此表单的描述。 String getFormConfigAbility() 获取关于该表单的表单配置能力。 String getFormName() 获取此表单的名称。 boolean getFormVisibleNotify() 获取此表单的通知是否可见。 String getJsComponentName() 获取此 JS 表单的 JS 组件名称。 String getModuleName() 获取该表单所属的应用模块的名称。 String getOriginalBundleName() 获取此表单所属的应用程序的捆绑包名称。 ListInteger getSupportDimensions() 获取此表单支持的网格样式。 FormInfo.FormType getType() 获取此表单的类型。 boolean isDefaultForm() 检查此表单是否为默认表单。 boolean marshalling(Parcel out) 将此 FormInfo 对象编组为 Parcel 对象。 boolean unmarshalling(Parcel in) 从 Parcel 对象中解组此 FormInfo 对象。 从类 java.lang.Object 继承的方法 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 从接口 ohos.utils.Sequenceable 继承的方法 hasFileDescriptor 字段详细信息 PRODUCER public static final Sequenceable.ProducerFormInfo PRODUCER 从 Parcel 对象创建 FormInfo 对象。 该常量与 marshalling(ohos.utils.Parcel) 一起使用,是对...

优惠码

鸿蒙OS FormBaseInfo

FormBaseInfo java.lang.Object |—ohos.bundle.FormBaseInfo public class FormBaseInfo extends Object implements Sequenceable 提供有关表单的基本信息。 嵌套类摘要 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 static Sequenceable.ProducerFormBaseInfo PRODUCER 从 Parcel 对象创建 FormBaseInfo 对象。 构造函数摘要 构造函数 描述 FormBaseInfo() 用于创建 FormBaseInfo 实例的默认构造函数。 FormBaseInfo(FormBaseInfo source) 用于通过复制现有实例的属性来创建 FormBaseInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 String getAbilityName() 获取该表单所属ability的类名。 String getBundleName() 获取此表单所属的应用程序的捆绑包名称。 String getFormName() 获取此表单的名称 String getModuleName() 获取该表单所属的应用模块的名称。 boolean marshalling(Parcel out) 将此 FormBaseInfo 对象编组为 Parcel 对象。 void setAbilityName(String name) 设置此表单的ability名称。 void setBundleName(String name) 设置此表单的捆绑包名称。 void setFormName(String name) 设置此表单的表单名称。 void setModuleName(String name) 设置此表单的模块名称。 boolean unmarshalling(Parcel in) 从 Parcel 对象中解组此 FormBaseInfo 对象。 从类 java.lang.Object 继承的方法 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 从接口 ohos.utils.Sequenceable 继承的方法 hasFileDescriptor 字段详细信息 PRODUCER public static final Sequenceable.ProducerFormBaseInfo PRODUCER 从 Parcel 对象创建 FormBaseInfo 对象。 该常量与 marshalling(ohos.utils.Parcel) 一起使用,是对 unmarshalling(ohos.utils.Parcel) 方法的封装。 构造函数详细信息 FormBaseInfo public FormBaseInfo() 用于创建 FormBaseInfo 实例的默认构造函数。 FormBaseInfo public FormBaseInfo(FormBaseInfo source) 用于通过复制现有实例的属性来创建 FormBaseInfo 实例的构造函数。 参数: 参数名称 参数描述 source 指示现有的 FormBaseInfo 实例。 方法详情 getBundleName public String getBundleName() 获取此表单所属的应用程序的捆绑包名称。 返回: 返回应用程序包名称。 getModuleName public String getModuleName()...

优惠码

鸿蒙OS ElementName

ElementName java.lang.Object |—ohos.bundle.ElementName public class ElementName extends Object implements Sequenceable 包含基本的ability信息,它唯一地标识一个ability。 您可以使用此类获取元素中设置的字段的值,例如设备 ID、捆绑包名称和ability名称。 嵌套类摘要 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 static Sequenceable.ProducerElementName PRODUCER Creates a ElementName instance from a Parcel. 构造函数摘要 构造函数 描述 ElementName() 用于创建 ElementName 实例的默认构造函数。 ElementName(String deviceId, String bundleName, String abilityName) 用于创建 ElementName 实例的参数化构造函数。 ElementName(ElementName elementName) 一种参数化构造函数,用于通过从现有参数复制参数来创建 ElementName 实例。 方法总结 修饰符和类型 方法 描述 static ElementName createRelative(String bundleName, String abilityName, String deviceId) 创建另一个 ElementName 实例,其中ability的类名称以包名称为前缀。 boolean equals(Object object) 检查两个 ElementName 对象是否包含相同的属性。 String getAbilityName() 获得ability的名称。 String getBundleName() 获取ability的捆绑包名称。 String getDeviceId() 获取ability的唯一设备ID。 String getShortClassName() 获取当前 ElementName 实例中ability的短类名。 String getURI() 获取ability的URI。 int hashCode() 计算 ElementName 对象的哈希值。 boolean marshalling(Parcel out) 将此 Sequenceable 对象编组为 Parcel。 void setAbilityName(String name) 设置ability名称。 void setBundleName(String bundleName) 设置ability的捆绑包名称。 void setDeviceId(String deviceId) 设置设备ID static ElementName unflattenFromString(String elementName) 从使用 getURI() 创建的字符串中恢复 ElementName 实例。 boolean unmarshalling(Parcel in) 从 Parcel 中解组此 Sequenceable 对象。 从类 java.lang.Object 继承的方法 clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait 从接口 ohos.utils.Sequenceable 继承的方法 hasFileDescriptor 字段详情 PRODUCER public static final Sequenceable.ProducerElementName PRODUCER 从 Parcel 创建一个 ElementName 实例。 构造函数详细信息 ElementName public ElementName() 用于创建 ElementName 实例的默认构造函数。 ElementName public ElementName(String deviceId, String bundleName, String abilityName) 用于创建 ElementName 实例的参数化构造函数。 参数: 参数名称...

优惠码

鸿蒙OS CommonEventInfo

CommonEventInfo java.lang.Object |—ohos.bundle.CommonEventInfo public class CommonEventInfo extends Object implements Sequenceable 提供获取静态公共事件配置信息的方法,包括包名、类名和权限。 嵌套类摘要 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 static Sequenceable.ProducerCommonEventInfo PRODUCER 从 Parcel 创建一个 CommonEventInfo 实例。 构造函数摘要 构造函数 描述 CommonEventInfo() 用于创建 CommonEventInfo 实例的默认构造函数,用于存储有关静态公共事件的配置信息。 CommonEventInfo(CommonEventInfo source) 用于通过从现有参数复制参数来创建 CommonEventInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 String getBundleName() 获取此静态公共事件的捆绑包名称。 String getClassName() 获取此静态公共事件的类名。 ListString getData() 获取此静态公共事件中包含的附加数据列表。 ListString getEvents() 获取此静态公共事件中包含的事件列表。 String getPermission() 获取实现该静态公共事件所需的权限。 ListString getType() 获取此静态公共事件中定义的类型列表。 int getUid() 获取此静态公共事件的 UID。 boolean marshalling(Parcel out) 将此 Sequenceable 对象编组为 Parcel。 boolean unmarshalling(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 创建一个 CommonEventInfo 实例。 构造函数详细信息 CommonEventInfo public CommonEventInfo() 用于创建 CommonEventInfo 实例的默认构造函数,用于存储有关静态公共事件的配置信息。 CommonEventInfo public CommonEventInfo(CommonEventInfo source) 用于通过从现有参数复制参数来创建 CommonEventInfo 实例的构造函数。 参数: 参数名称 参数描述 source 指示现有的 CommonEventInfo 实例。 方法详情 getBundleName public String getBundleName() 获取此静态公共事件的捆绑包名称。 返回: 返回此静态公共事件的包名称。 getUid public int getUid() 获取此静态公共事件的 UID。 UID 是分配给应用程序的用户 ID。 返回: 返回此静态公共事件的 UID。...

优惠码

鸿蒙OS BundleInfo.ReqPermissionDetail.UsedScene

BundleInfo.ReqPermissionDetail.UsedScene java.lang.Object |—ohos.bundle.BundleInfo.ReqPermissionDetail.UsedScene public class BundleInfo.ReqPermissionDetail.UsedScene extends Object 使用的场景 构造函数摘要 构造函数 描述 UsedScene(String when, String[] abilities) 方法总结 修饰符和类型 方法 描述 String[] getAbilities() String getWhen() 从类 java.lang.Object 继承的方法 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 构造函数详细信息 UsedScene public UsedScene(String when, String[] abilities) 方法详情 getAbilities public String[] getAbilities() getWhen public String getWhen()

优惠码

鸿蒙OS BundleInfo.ReqPermissionDetail

BundleInfo.ReqPermissionDetail java.lang.Object |—ohos.bundle.BundleInfo.ReqPermissionDetail public class BundleInfo.ReqPermissionDetail extends Object ability的许可细节是请求。 嵌套类摘要 修饰符和类型 类 描述 class BundleInfo.ReqPermissionDetail.UsedScene 使用的场景 构造函数摘要 构造函数 描述 ReqPermissionDetail(String name, String reason) 方法总结 修饰符和类型 方法 描述 String getName() String getReason() int getReasonId() BundleInfo.ReqPermissionDetail.UsedScene getUsedScene() void setUsedScene(BundleInfo.ReqPermissionDetail.UsedScene usedScene) 从类 java.lang.Object 继承的方法 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 构造函数详细信息 ReqPermissionDetail public ReqPermissionDetail(String name, String reason) 方法详情 getName public String getName() getReason public String getReason() getReasonId public int getReasonId() getUsedScene public BundleInfo.ReqPermissionDetail.UsedScene getUsedScene() setUsedScene public void setUsedScene(BundleInfo.ReqPermissionDetail.UsedScene usedScene)

优惠码

鸿蒙OS BundleInfo

BundleInfo java.lang.Object |—ohos.bundle.BundleInfo public class BundleInfo extends Object implements Sequenceable 获取捆绑包的配置信息 嵌套类摘要 修饰符和类型 类 描述 class BundleInfo.ReqPermissionDetail ability 的权限详情,即 request。 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 ListAbilityInfo abilityInfos 表示此捆绑包中包含的所有ability的列表。 String appId 表示该bundle所属的应用程序的ID。 ApplicationInfo appInfo 指示有关此捆绑包所属的应用程序的信息。 boolean debug 表示调试模式 String jointUserId 指示此应用程序和其他应用程序之间共享的用户 ID 的名称。 String name 指示此捆绑包的名称。 String originalName 指示此原始捆绑包的名称。 static Sequenceable.ProducerBundleInfo PRODUCER 从 Parcel 创建一个 BundleInfo 实例。 ListBundleInfo.ReqPermissionDetail reqPermissionDetails 指示文件 config.json 中定义的所需权限详细信息。 ListString reqPermissions 指示文件 config.json 中定义的所需权限名称。 String type 指示此原始捆绑包的名称。 int uid 指示此捆绑包所属的应用程序的 UID。 构造函数摘要 构造函数 描述 BundleInfo() 用于创建 BundleInfo 实例的默认构造函数。 BundleInfo(BundleInfo source) 一种参数化构造函数,用于通过从现有参数复制参数来创建 BundleInfo 实例。 方法总结 修饰符和类型 方法 描述 ListAbilityInfo getAbilityInfos() 获取当前捆绑包中包含的所有ability的列表。 String getAppId() 获取当前bundle所属的应用ID。 ApplicationInfo getAppInfo() 获取当前bundle所属的应用信息。 int getCompatibleVersion() 获取应用程序运行所需的最低 API 版本。 boolean getCompressNativeLibs() 获取此 bundle 的 CompressNativeLibs 信息。 String getCpuAbi() 获取该bundle的cpuAbi信息。 String getEntryModuleName() 获取应用的Entry.hap文件的模块名。 ListString getHapModuleNames() 获取应用的所有HAP模块的全名。 long getInstallTime() 获取应用安装时间 String getJointUserId() 获取此应用程序和其他应用程序共享的用户 ID 的名称。 int getMaxSdkVersion() 获取运行应用程序所需的最高 SDK 版本。 int getMinCompatibleVersionCode() 获取应用程序运行所需的最低兼容版本 int getMinSdkVersion() 获取运行应用程序所需的最低SDK版本 ListString getModuleDirs() 获取应用所有模块的路径 ListString getModuleNames() 获取应用程序的所有模块名称 ListString getModulePublicDirs()...

优惠码

鸿蒙OS BackupBundleInfo

BackupBundleInfo java.lang.Object |—ohos.bundle.BackupBundleInfo public class BackupBundleInfo extends Object implements Sequenceable 备份有关应用程序的信息,包括其包名称和版本代码。 bundleName 属性必须已在 config.json 文件中配置。 嵌套类摘要 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 static Sequenceable.ProducerBackupBundleInfo PRODUCER 从 Parcel 创建一个 BackupBundleInfo 实例。 构造函数摘要 构造函数 描述 BackupBundleInfo() 用于创建 BackupBundleInfo 实例的默认构造函数。 BackupBundleInfo(String bundleName, int versionCode) 用于通过 bundleName 和 versionCode 创建 BackupBundleInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 boolean equals(Object obj) 指示其他对象是否“等于”这个对象。 String getBundleName() 获取要备份的应用程序的捆绑包名称。 int getVersionCode() 获取要备份的应用程序的版本号。 boolean hasFileDescriptor() 检查此 Sequenceable 的实现类是否包含 FileDescriptor 对象数据。 int hashCode() 返回对象的哈希码值。 boolean marshalling(Parcel out) 将此 Sequenceable 对象编组为 Parcel。 String toString() 返回对象的字符串表示形式。 boolean unmarshalling(Parcel in) 从 Parcel 中解组此 Sequenceable 对象。 从类 java.lang.Object 继承的方法 clone, finalize, getClass, notify, notifyAll, wait, wait, wait 字段详细信息 PRODUCER public static final Sequenceable.ProducerBackupBundleInfo PRODUCER 从 Parcel 创建一个 BackupBundleInfo 实例。 构造函数详细信息 BackupBundleInfo public BackupBundleInfo() 用于创建 BackupBundleInfo 实例的默认构造函数。 BackupBundleInfo public BackupBundleInfo(String bundleName, int versionCode) 用于通过 bundleName 和 versionCode 创建 BackupBundleInfo 实例的构造函数。 参数: 参数名称 参数描述 bundleName 此实例的 bundleName。 versionCode 此实例的版本代码。 方法详情 marshalling public boolean marshalling(Parcel out) 从接口复制的描述:Sequenceable 将此 Sequenceable 对象编组为 Parcel。 指定者: 接口 Sequenceable 中的编组...

优惠码

鸿蒙OS ApplicationInfo

ApplicationInfo java.lang.Object |—ohos.bundle.ApplicationInfo public class ApplicationInfo extends Object implements Sequenceable 获取应用程序的配置信息 嵌套类摘要 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 boolean debug 指示应用程序是否可调试 boolean enabled 指示是否可以实例化此应用程序 String name 应用名称,与bundleName相同 static Sequenceable.ProducerApplicationInfo PRODUCER 从 Parcel 创建一个 ApplicationInfo 实例。 boolean systemApp 指示应用程序是否为系统应用程序 构造函数摘要 构造函数 描述 ApplicationInfo() 用于创建 ApplicationInfo 实例的默认构造函数。 ApplicationInfo(ApplicationInfo source) 用于通过从现有实例复制参数来创建 ApplicationInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 void dump(String prefix, PrintWriter writer) 将应用程序的进程信息打印到指定目标中 String getDescription() 获取应用的描述或应用描述的资源索引 String getEntryDir() 获取应用的Entry.hap文件保存路径。 int getFlags() 获取应用程序的标志 String getIcon() 获取应用程序图标资源文件的保存路径 int getIconId() 获取iconId的值 String getLabel() 获取用户可见的应用名称或应用名称的资源索引 int getLabelId() 获取labelId的值 ListModuleInfo getModuleInfos() 获取应用程序所有模块的信息 ListString getModuleSourceDirs() 获取应用程序模块资源的存放路径 String getName() 获取应用程序的名称 ListString getPermissions() 获取访问应用程序所需的权限 String getProcess() 获取此应用程序应在其中运行的进程的名称 int getSupportedModes() 检查应用程序是否支持驾驶模式 boolean getSystemApp() 检查应用程序是否为系统应用程序 boolean marshalling(Parcel out) 将此 Sequenceable 对象编组为 Parcel。 void setFlags(int flags) 为应用程序设置标志 boolean unmarshalling(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.ProducerApplicationInfo PRODUCER 从 Parcel 创建一个 ApplicationInfo 实例。...

优惠码

鸿蒙OS AbilityInfo

AbilityInfo java.lang.Object |—ohos.bundle.AbilityInfo public class AbilityInfo extends Object implements Sequenceable 获取ability的配置信息 嵌套类摘要 修饰符和类型 类 描述 static class AbilityInfo.AbilitySubType 枚举可由ability使用的模板的子类型。 static class AbilityInfo.AbilityType 枚举ability可以使用的模板类型。 static class AbilityInfo.DisplayOrientation 枚举ability显示方向。 static class AbilityInfo.LaunchMode 枚举ability启动模式。 从接口 ohos.utils.Sequenceable 继承的嵌套类/接口 Sequenceable.ProducerT 字段摘要 修饰符和类型 字段 描述 String bundleName 指示包含该ability的捆绑包的名称。 String className 表示ability的类名。 boolean enabled 指示是否可以实例化此ability。 String label 表示ability的标签 static Sequenceable.ProducerAbilityInfo PRODUCER 从 Parcel 创建 AbilityInfo 实例。 构造函数摘要 构造函数 描述 AbilityInfo() 用于创建 AbilityInfo 实例的默认构造函数。 AbilityInfo(AbilityInfo source) 用于通过从现有参数复制参数来创建 AbilityInfo 实例的构造函数。 方法总结 修饰符和类型 方法 描述 void dump(String prefix, PrintWriter writer) 将ability信息打印到指定目标。 ApplicationInfo getApplicationInfo() 获取有关当前应用程序的信息。 int getBackgroundModes() 获取ability的 backgroundModes 标签。 String getBundleName() 获取包含该ability的捆绑包的名称。 String getClassName() 获取ability的类名。 int getDefaultFormHeight() 获取 AbilityForm 的默认高度。 int getDefaultFormWidth() 获取 AbilityForm 的默认宽度。 String getDescription() 获取ability的描述。 ListString getDeviceCapabilities() 获取运行ability所需的设备ability。 ListString getDeviceTypes() 获取ability可以运行的设备类型。 boolean getFormEnabled() 获取ability的formEnabled标签。 int getFormEntity() 获取AbilityForm可以显示的区域。 String getIconPath() 获取ability图标资源文件的保存路径。 String getLabel() 获取用户可见的ability名称或ability名称的资源索引。 AbilityInfo.LaunchMode getLaunchMode() 获取ability的启动模式,单例或标准。 int getMinFormHeight() 获取 AbilityForm 的最小高度。 int getMinFormWidth() 获取 AbilityForm 的最小宽度。 String getModuleName() 获取ability的模块名称标签。 AbilityInfo.DisplayOrientation getOrientation() 获取ability的显示方向。 String getOriginalClassName()...

优惠码