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
38typedef 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
@ NMP_TRACK_TYPE_TIMEDTEXT
An Timedtext (subtitle) track type.
Definition: NMPTrackInfo.h:42
@ NMP_TRACK_TYPE_UNKNOWN
An unknown track type.
Definition: NMPTrackInfo.h:39
@ NMP_TRACK_TYPE_AUDIO
An Audio track type.
Definition: NMPTrackInfo.h:41
@ NMP_TRACK_TYPE_VIDEO
An Video track type.
Definition: NMPTrackInfo.h:40
TNMPTrackType
Definition of video/audio/timedtext track type supported by NMP SDK.
Definition: NMPTrackInfo.h:38
NMPTrackInfo represents description information for video/audio/subtitle track.
Definition: NMPTrackInfo.h:53
NSString * language
Get the language information.
Definition: NMPTrackInfo.h:63
TNMPTrackType type
Get the type defined by TNMPTrackType.
Definition: NMPTrackInfo.h:58
INMPTrackChangedListener provides notification for the client application when track information for ...
Definition: NMPTrackInfo.h:20
void onTrackChanged()
Notifiy the app track information on a specific stream changed.