feat(zeroconf): add watchAddressFamily and registerAddressFamily

feat(zeroconf): add watchAddressFamily and registerAddressFamily
This commit is contained in:
Daniel Sogl 2018-03-23 08:20:20 +01:00 committed by GitHub
commit 761ac4a328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,4 +131,12 @@ export class Zeroconf extends IonicNativePlugin {
*/
@Cordova()
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';
}