Methods
executeReceiverById(id, jsonStr)
执行Receiver通过id
Parameters:
Name | Type | Description |
---|---|---|
id |
string | id. |
jsonStr |
string | 参数 |
- Source:
registerReceiver()
注册Receiver对象
- Source:
sendBroadcast(intent)
发送无序广播
Parameters:
Name | Type | Description |
---|---|---|
intent |
Object | { action:{string} action categorys:{Array} 分类 bundle:{Object} 参数 } |
- Source:
sendOrderedBroadcast(intent)
发送有序广播
Parameters:
Name | Type | Description |
---|---|---|
intent |
Object | { action:{string} action categorys:{Array} 分类 bundle:{Object} 参数 } |
- Source:
unregisterReceiver(action)
解除注册Receiver对象
Parameters:
Name | Type | Description |
---|---|---|
action |
string |
- Source:
unregisterReceiverByDom(el)
接触注册Receiver通过page中的Dom
Parameters:
Name | Type | Description |
---|---|---|
el |
HtmlElement |
- Source: