HWSDKReport

Kind: global class

hwsdkReport.config : Object

配置表,活动运行需要的数据的集合

Kind: instance property of HWSDKReport
Default: {}
Properties

Name Type Description
reasonText Array 举报理由

hwsdkReport.tapEvent : String

点击事件

Kind: instance property of HWSDKReport

HWSDKReport.init(config) ⇒ Object

初始化方法

Kind: static method of HWSDKReport
Returns: Object - hwsdkReport实例

Param Type Description
config Object | Null 配置

Example

// 初始化举报页面
// 方法1:
hwsdk.plugins.report.init()
// 方法2:
hwsdk.plugins.report.init({reasonText: ['xxx', 'xxx']})  // reasonText为配置表参数

HWSDKReport.show() ⇒ Object

显示

Kind: static method of HWSDKReport
Returns: Object - hwsdkReport实例
Example

// 举报页面的显示
hwsdk.plugins.report.show()

HWSDKReport.hide() ⇒ Object

隐藏

Kind: static method of HWSDKReport
Returns: Object - hwsdkReport实例
Example

// 举报页面的隐藏
hwsdk.plugins.report.hide()

results matching ""

    No results matching ""