OpenTV Player SDK For iOS  version 2.30.0
NMPTrackInfo.h
Go to the documentation of this file.
1 //
2 // NMPTrackInfo.h
3 // inmpcsdk
4 //
5 // STRICTLY CONFIDENTIAL
6 // Created by Nagra on 31/10/2019.
7 // Copyright (C) 2018 Nagravision S.A, All Rights Reserved.
8 // This software is the proprietary information of Nagravision S.A.
9 //
10 
11 #import <Foundation/Foundation.h>
12 
21 @required
22 
27 - (void)onTrackChanged;
28 
29 @end
30 
31 
38 typedef enum : NSUInteger{
44 
45 
52 @interface NMPTrackInfo : NSObject
53 
58 @property (readonly) TNMPTrackType type;
59 
63 @property (readonly) NSString* language;
64 
68 - (NMPTrackInfo*)initWithAsset:(NMPTrackInfo*) trackInfo;
69 
70 @end
An unknown track type.
Definition: NMPTrackInfo.h:39
TNMPTrackType type
Get the type defined by TNMPTrackType.
Definition: NMPTrackInfo.h:58
NSString * language
Get the language information.
Definition: NMPTrackInfo.h:63
An Timedtext (subtitle) track type.
Definition: NMPTrackInfo.h:42
An Audio track type.
Definition: NMPTrackInfo.h:41
void onTrackChanged()
Notifiy the app track information on a specific stream changed.
TNMPTrackType
Definition of video/audio/timedtext track type supported by NMP SDK.
Definition: NMPTrackInfo.h:38
An Video track type.
Definition: NMPTrackInfo.h:40
NMPTrackInfo represents description information for video/audio/subtitle track.
Definition: NMPTrackInfo.h:52
INMPTrackChangedListener provides notification for the client application when track information for ...
Definition: NMPTrackInfo.h:20