From b05c9a4f8b355835e5be271cdabeeb5452baf72b Mon Sep 17 00:00:00 2001 From: Thomas Linford Date: Thu, 22 Mar 2018 17:10:35 +0100 Subject: [PATCH] feat(zeroconf) add watchAddressFamily and registerAddressFamily properties --- src/@ionic-native/plugins/zeroconf/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/@ionic-native/plugins/zeroconf/index.ts b/src/@ionic-native/plugins/zeroconf/index.ts index 63ce74574..d91228ffa 100644 --- a/src/@ionic-native/plugins/zeroconf/index.ts +++ b/src/@ionic-native/plugins/zeroconf/index.ts @@ -131,4 +131,12 @@ export class Zeroconf extends IonicNativePlugin { */ @Cordova() reInit(): Promise { 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'; }