SnapscreenTvChannel
@interface SnapscreenTvChannel : NSObject
Represents a TV channel with the internal Snapscreen representation
-
An internal channel identifier
Declaration
Objective-C
@property (nonatomic, readonly) long long channelId;Swift
var channelId: Int64 { get } -
The Snapscreen-specific channel code for this TV channel. This is used to specify a channel in many other calls in the SDK.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *channelCode;Swift
var channelCode: String { get } -
The ISO country code where this channel is aired
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *countryCode;Swift
var countryCode: String { get } -
Human-readable name for this TV channel
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *name;Swift
var name: String? { get } -
An optional link to the homepage of this TV channel
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *homepage;Swift
var homepage: String? { get } -
An optional link to a channel logo
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *logoImageUrl;Swift
var logoImageUrl: String? { get } -
An optional link to a channel poster image
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *posterImageUrl;Swift
var posterImageUrl: String? { get } -
Optional resolved EPG unit that is currently playing on this channel
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SnapscreenEpgUnit *epgUnit;Swift
var epgUnit: SnapscreenEpgUnit? { get } -
Optional resolved sport event that is currently live on this channel
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SnapscreenSportEvent *sportEvent;Swift
var sportEvent: SnapscreenSportEvent? { get } -
Optional URL for a live image of the currently epg unit on this channel
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *liveImageUrl;Swift
var liveImageUrl: String? { get } -
Determines whether an access token is necessary when fetching the liveImageURL
Declaration
Objective-C
@property (nonatomic, readonly) Boolean liveImageUrlSecured;Swift
var liveImageUrlSecured: Bool { get } -
-initWithChannelId:channelCode:countryCode:name:homepage:logoImageUrl:posterImageUrl:liveImageUrl:liveImageUrlSecured:Initiailzer
Declaration
Objective-C
- (instancetype _Nonnull)initWithChannelId:(long long)channelId channelCode:(NSString *_Nonnull)channelCode countryCode:(NSString *_Nonnull)countryCode name:(NSString *_Nullable)name homepage:(NSString *_Nullable)homepage logoImageUrl:(NSString *_Nullable)logoImageUrl posterImageUrl:(NSString *_Nullable)posterImageUrl liveImageUrl:(NSString *_Nullable)liveImageUrl liveImageUrlSecured:(BOOL)liveImageUrlSecured;Swift
init(channelId: Int64, channelCode: String, countryCode: String, name: String?, homepage: String?, logoImageUrl: String?, posterImageUrl: String?, liveImageUrl: String?, liveImageUrlSecured: Bool)
SnapscreenTvChannel Class Reference