CFNetServiceGetType(_:)
Gets the type from a CFNetService.
Declaration
func CFNetServiceGetType(_ theService: CFNetService) -> Unmanaged<CFString>Parameters
- theService:
The CFNetService whose type is to be obtained; cannot be
NULL.
Return Value
A CFString object containing the type from a CFNetService.
Discussion
This function gets the type of a CFNetService.
Special Considerations
This function is thread safe. The function gets the data in a thread-safe way, but the data is not safe if the service is altered from another thread.
See Also
Network Services
CFNetServiceCFNetServiceBrowserCFNetServiceBrowserFlagsCFNetServiceMonitorCFNetServiceMonitorTypeCFNetServiceClientContextCFNetServiceRegisterFlagsCFNetServicesErrorCFNetServiceBrowserInvalidate(_:)CFNetServiceBrowserScheduleWithRunLoop(_:_:_:)CFNetServiceBrowserCreate(_:_:_:)CFNetServiceBrowserGetTypeID()CFNetServiceBrowserSearchForDomains(_:_:_:)CFNetServiceBrowserSearchForServices(_:_:_:_:)CFNetServiceBrowserStopSearch(_:_:)