Skip to content
Snippets Groups Projects

VLCKit.VLCMediaPlayer Obj-C Lightweight Generics support

Closed Hank Anderson requested to merge Sumou/VLCKit:mediaplayer-objc-lightweight-generics into 3.0
2 files
+ 48
48
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -431,13 +431,13 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
* Returns the video track names, usually a language name or a description
* It includes the "Disabled" fake track at index 0.
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *videoTrackNames;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSString *> *videoTrackNames;
/**
* Returns the video track IDs
* those are needed to set the video index
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *videoTrackIndexes;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSNumber *> *videoTrackIndexes;
/**
* returns the number of video tracks available in the current media
@@ -458,13 +458,13 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
* Returns the video subtitle track names, usually a language name or a description
* It includes the "Disabled" fake track at index 0.
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *videoSubTitlesNames;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSString *> *videoSubTitlesNames;
/**
* Returns the video subtitle track IDs
* those are needed to set the video subtitle index
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *videoSubTitlesIndexes;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSNumber *> *videoSubTitlesIndexes;
/**
* returns the number of SPU tracks available in the current media
@@ -559,7 +559,7 @@ extern NSString *const VLCChapterDescriptionDuration;
* \see VLCChapterDescriptionTimeOffset
* \see VLCChapterDescriptionDuration
*/
- (NSArray *)chapterDescriptionsOfTitle:(int)titleIndex;
- (NSArray<NSDictionary<NSString *, id> *> *)chapterDescriptionsOfTitle:(int)titleIndex;
/**
* Return the current title index
@@ -605,7 +605,7 @@ extern NSString *const VLCTitleDescriptionIsMenu;
* \see VLCTitleDescriptionDuration
* \see VLCTitleDescriptionIsMenu
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *titleDescriptions;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSDictionary<NSString *, id> *> *titleDescriptions;
/**
* the title with the longest duration
@@ -628,13 +628,13 @@ extern NSString *const VLCTitleDescriptionIsMenu;
* Returns the audio track names, usually a language name or a description
* It includes the "Disabled" fake track at index 0.
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *audioTrackNames;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSString *> *audioTrackNames;
/**
* Returns the audio track IDs
* those are needed to set the video index
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *audioTrackIndexes;
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSNumber *> *audioTrackIndexes;
/**
* returns the number of audio tracks available in the current media
@@ -674,7 +674,7 @@ extern NSString *const VLCTitleDescriptionIsMenu;
*
* \return array of equalizer profiles
*/
@property (weak, readonly) NSArray *equalizerProfiles;
@property (weak, readonly) NSArray<NSString *> *equalizerProfiles;
/**
* Re-set the equalizer to a profile retrieved from the list
@@ -916,7 +916,7 @@ extern NSString *const VLCTitleDescriptionIsMenu;
* \return a NSArray of NSString instances containing the names
* \note This property is not available to macOS
*/
@property (NS_NONATOMIC_IOSONLY, readonly, copy, nullable) NSArray *snapshots;
@property (NS_NONATOMIC_IOSONLY, readonly, copy, nullable) NSArray<NSString *> *snapshots;
#if TARGET_OS_IPHONE
/**
Loading