Taro.onLocalServiceResolveFail(callback)
Listens on the mDNS service resolution failure event.
Type
(callback: Callback) => void
Parameters
Callback
The callback function for the mDNS service resolution failure event.
(result: CallbackResult) => void
Property | Type |
---|---|
result | CallbackResult |
CallbackResult
Property | Type | Description |
---|---|---|
serviceName | string | Service name |
serviceType | string | Service type |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.onLocalServiceResolveFail | ✔️ |