26 #import <Foundation/Foundation.h>
28 NS_ASSUME_NONNULL_BEGIN
33 extern NSString *
const VLCMediaListItemAdded;
37 extern NSString *
const VLCMediaListItemDeleted;
54 - (void)mediaList:(
VLCMediaList *)aMediaList mediaAdded:(
VLCMedia *)media atIndex:(NSUInteger)index;
62 - (void)mediaList:(
VLCMediaList *)aMediaList mediaRemovedAtIndex:(NSUInteger)index;
76 - (instancetype)initWithArray:(NSArray<
VLCMedia *> *)array;
96 - (NSUInteger)addMedia:(
VLCMedia *)media;
105 - (void)insertMedia:(
VLCMedia *)media atIndex:(NSUInteger)index;
115 - (BOOL)removeMediaAtIndex:(NSUInteger)index;
123 - (nullable
VLCMedia *)mediaAtIndex:(NSUInteger)index;
132 - (NSUInteger)indexOfMedia:(
VLCMedia *)media;
139 @property (readonly) NSInteger
count;
144 @property (weak, nonatomic, nullable) id<VLCMediaListDelegate>
delegate;
154 NS_ASSUME_NONNULL_END