feat(zeroconf) add watchAddressFamily and registerAddressFamily properties

This commit is contained in:
Thomas Linford 2018-03-22 17:10:35 +01:00
parent 8b8ccfbdc3
commit b05c9a4f8b

View File

@ -131,4 +131,12 @@ export class Zeroconf extends IonicNativePlugin {
*/ */
@Cordova() @Cordova()
reInit(): Promise<void> { return; } reInit(): Promise<void> { return; }
/**
* Family of addresses to register: ipv4, ipv6 or any.
*/
registerAddressFamily: 'ipv4' | 'ipv6' | 'any';
/**
* Family of addresses to watch for: ipv4, ipv6 or any.
*/
watchAddressFamily: 'ipv4' | 'ipv6' | 'any';
} }