Skip to main content
Version: 3.x

Taro.onLocalServiceResolveFail(callback)

Listens on the mDNS service resolution failure event.

Reference

Type

(callback: Callback) => void

Parameters

Callback

The callback function for the mDNS service resolution failure event.

(result: CallbackResult) => void
PropertyType
resultCallbackResult

CallbackResult

PropertyTypeDescription
serviceNamestringService name
serviceTypestringService type

API Support

APIWeChat Mini-ProgramH5React Native
Taro.onLocalServiceResolveFail✔️