广播模块

API

DataStructure

ESIntentFilter

IntentFilter

NameDescriptionTypeDefault
actionactionArray<string>-
schemeschemeArray<string>-
categorycategoryArray<string>-
typetypeArray<string>-
authorityauthorityArray<ESIntentDataAuthority>-
pathpathArray<ESIntentDataPath>-
schemeSpecificPartschemeSpecificPartArray<ESIntentDataSchemeSpecificPart>-

ESIntentDataAuthority

ESIntentDataAuthority

NameDescriptionTypeDefault
hosthoststring-
portportstring-

ESIntentDataPath

ESIntentDataPath

NameDescriptionTypeDefault
pathpathstring-
typetypenumber-

ESIntentDataSchemeSpecificPart

ESIntentDataSchemeSpecificPart

NameDescriptionTypeDefault
sspsspstring-
typetypenumber-

Exposes

NameDescriptionType
registerReceiver该方法注册广告接收者Function
unregisterReceiver该方法取消注册广告接收者Function
sendBroadcast该方法发送广播Function