Package org.robovm.apple.coreservices
Class CFNetServiceBrowser
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.coreservices.CFNetServiceBrowser
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CFNetServiceBrowser extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFNetServiceBrowser.CFNetServiceBrowserPtr
static interface
CFNetServiceBrowser.ClientCallback
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFNetServiceBrowser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CFNetServiceBrowser
create(CFNetServiceBrowser.ClientCallback clientCB)
static long
getClassTypeID()
void
invalidate()
void
scheduleInRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
void
scheduleInRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
boolean
searchForDomains(boolean registrationDomains)
boolean
searchForServices(java.lang.String domain, java.lang.String serviceType)
void
stopSearch()
void
unscheduleFromRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
void
unscheduleFromRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
create
public static CFNetServiceBrowser create(CFNetServiceBrowser.ClientCallback clientCB)
- Since:
- Available in iOS 2.0 and later.
-
scheduleInRunLoop
public void scheduleInRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
unscheduleFromRunLoop
public void unscheduleFromRunLoop(CFRunLoop runLoop, CFRunLoopMode runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 2.0 and later.
-
invalidate
public void invalidate()
- Since:
- Available in iOS 2.0 and later.
-
searchForDomains
public boolean searchForDomains(boolean registrationDomains) throws CFStreamErrorException
- Throws:
CFStreamErrorException
- Since:
- Available in iOS 2.0 and later.
-
searchForServices
public boolean searchForServices(java.lang.String domain, java.lang.String serviceType) throws CFStreamErrorException
- Throws:
CFStreamErrorException
- Since:
- Available in iOS 2.0 and later.
-
stopSearch
public void stopSearch() throws CFStreamErrorException
- Throws:
CFStreamErrorException
- Since:
- Available in iOS 2.0 and later.
-
scheduleInRunLoop
public void scheduleInRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
unscheduleFromRunLoop
public void unscheduleFromRunLoop(CFRunLoop runLoop, java.lang.String runLoopMode)
- Since:
- Available in iOS 2.0 and later.
-
-