NSStreamServiceType Enum

Definition

Possible values for the service type for an NSStream.

public enum NSStreamServiceType
type NSStreamServiceType = 
Inheritance
NSStreamServiceType

Fields

Background 3

This stream is providing a background service

Default 0

Default: the stream does not support a background, video or voice operation.

Video 2

This stream is used to provide video..

Voice 4

This stream is used to provide voice audio.

VoIP 1

This stream is used to provide VoIP traffic.

Remarks

The service type of an NSStream determine which kind of service a stream is providing. The Background and Video and VoIP affect the audio routing and can control whether an application is suspended or not.

Applies to