CII
@interface CII : NSObject
A CII class representing CII state.
-
CSS-CII protocol version
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *protocolVersion;
Swift
var protocolVersion: String! { get set }
-
Material Resolution Server URL
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *msrUrl;
Swift
var msrUrl: String! { get set }
-
Content Identifier for the programme currently shown on the TV
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *contentId;
Swift
var contentId: String! { get set }
-
The status of the ContentId as defined in DVB-CSS specifications
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *contentIdStatus;
Swift
var contentIdStatus: String! { get set }
-
TV content’s presentation status e.g. final, or transitioning to another programme
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *presentationStatus;
Swift
var presentationStatus: String! { get set }
-
CSS-WC server endpoint URL e.g. udp://xxx.xxx.xxx.xxx:yyyy
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *wcUrl;
Swift
var wcUrl: String! { get set }
-
CSS-TS server endpoint URL
Declaration
Objective-C
@property (assign, readwrite, atomic) NSString *tsUrl;
Swift
var tsUrl: String! { get set }
-
Timelines reported by TV as available for synchronisation. Each timeline object is a TimelineOption instance.
Declaration
Objective-C
@property (assign, readwrite, atomic) NSMutableArray *timelines;
Swift
var timelines: NSMutableArray! { get set }
-
Initialise a CII object with JSON string
Declaration
Objective-C
- (id)initWithJSONString:(NSString *)json;
Swift
init!(jsonString json: String!)
Parameters
json
JSON message from CII server
Return Value
CII instance
-
Search for a timeline in the available timelines included in the CII message
Declaration
Objective-C
- (TimelineOption *)timelineLookUp:(NSString *)timelineSel;
Swift
func timelineLookUp(_ timelineSel: String!) -> TimelineOption!
Parameters
timelineSel
timeline selector string
Return Value
a TimelineOption object containing properties of the selected timeline.