FMLiveSwitchSinkOutput Class Reference

A sink output (e.g. More...

Instance Methods

(NSString *) - description
 Returns a string that represents this instance. More...
 
(NSString *) - id
 Gets the identifier. More...
 
(instancetype) - initWithId:name:
 Initializes a new instance of the FMLiveSwitchSinkOutput class. More...
 
(NSString *) - name
 Gets the name. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithSinkOutputsJson:
 Deserializes an instance array from JSON. More...
 
(FMLiveSwitchSinkOutput *) + fromJsonWithSinkOutputJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchSinkOutput *) + sinkOutputWithId:name:
 Initializes a new instance of the FMLiveSwitchSinkOutput class. More...
 
(NSString *) + toJsonArrayWithSinkOutputs:
 Serializes an instance array to JSON. More...
 
(NSString *) + toJsonWithSinkOutput:
 Serializes an instance to JSON. More...
 

Detailed Description

A sink output (e.g.

device, track, screen).

Method Documentation

◆ description

- (NSString*) description

Returns a string that represents this instance.

Returns
A string that represents this instance.

◆ fromJsonArrayWithSinkOutputsJson:

+ (NSMutableArray*) fromJsonArrayWithSinkOutputsJson: (NSString *)  sinkOutputsJson

Deserializes an instance array from JSON.

Parameters
sinkOutputsJsonThe sink outputs JSON.

◆ fromJsonWithSinkOutputJson:

+ (FMLiveSwitchSinkOutput*) fromJsonWithSinkOutputJson: (NSString *)  sinkOutputJson

Deserializes an instance from JSON.

Parameters
sinkOutputJsonThe sink output JSON.

◆ id

- (NSString*) id

Gets the identifier.

◆ initWithId:name:

- (instancetype) initWithId: (NSString *)  idValue
name: (NSString *)  name 

Initializes a new instance of the FMLiveSwitchSinkOutput class.

Parameters
idValueThe identifier.
nameThe name.

◆ name

- (NSString*) name

Gets the name.

◆ sinkOutputWithId:name:

+ (FMLiveSwitchSinkOutput*) sinkOutputWithId: (NSString *)  idValue
name: (NSString *)  name 

Initializes a new instance of the FMLiveSwitchSinkOutput class.

Parameters
idValueThe identifier.
nameThe name.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithSinkOutputs:

+ (NSString*) toJsonArrayWithSinkOutputs: (NSMutableArray *)  sinkOutputs

Serializes an instance array to JSON.

Parameters
sinkOutputsThe sink outputs.

◆ toJsonWithSinkOutput:

+ (NSString*) toJsonWithSinkOutput: (FMLiveSwitchSinkOutput *)  sinkOutput

Serializes an instance to JSON.

Parameters
sinkOutputThe sink output.