/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CFNetServiceMonitorStop", optional=true) private native void stop(CFStreamError.CFStreamErrorPtr error); /**
/** * @since Available in iOS 2.0 and later. */ public boolean start(CFNetServiceMonitorType recordType) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = start(recordType, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean searchForServices(String domain, String serviceType) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = searchForServices(domain, serviceType, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CFNetServiceBrowserStopSearch", optional=true) private native void stopSearch(CFStreamError.CFStreamErrorPtr error); /**
/** * @since Available in iOS 2.0 and later. */ public boolean resolve(double timeout) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = resolve(timeout, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean applyCredentials(CFHTTPAuthentication auth, String username, String password) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = applyCredentials(auth, username, password, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean applyCredentials(CFHTTPAuthentication auth, String username, String password) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = applyCredentials(auth, username, password, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CFNetServiceBrowserStopSearch", optional=true) private native void stopSearch(CFStreamError.CFStreamErrorPtr error); /**
/** * @since Available in iOS 2.0 and later. */ public boolean isValid() throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = isValid(ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CFNetServiceBrowserStopSearch", optional=true) private native void stopSearch(CFStreamError.CFStreamErrorPtr error); /**
/** * @since Available in iOS 2.0 and later. */ public boolean searchForServices(String domain, String serviceType) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = searchForServices(domain, serviceType, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean register(CFNetServiceOptions options) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = register(options, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean applyCredentials(CFHTTPAuthentication auth, String username, String password) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = applyCredentials(auth, username, password, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean searchForDomains(boolean registrationDomains) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = searchForDomains(registrationDomains, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean isValid() throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = isValid(ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean applyCredentials(CFHTTPAuthentication auth, CFHTTPAuthenticationCredentials dict) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = applyCredentials(auth, dict, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ @Bridge(symbol="CFNetServiceMonitorStop", optional=true) private native void stop(CFStreamError.CFStreamErrorPtr error); /**
/** * @since Available in iOS 2.0 and later. */ public boolean start(CFNetServiceMonitorType recordType) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = start(recordType, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean startInfoResolution(CFHostInfoType info) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = startInfoResolution(info, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 2.0 and later. */ public boolean resolve(double timeout) throws CFStreamErrorException { CFStreamError.CFStreamErrorPtr ptr = new CFStreamError.CFStreamErrorPtr(); boolean result = resolve(timeout, ptr); if (ptr.get() != null) { throw new CFStreamErrorException(ptr.get()); } return result; } /**