|
VLCKit
|
#import <VLCMediaListPlayer.h>
Instance Methods | |
| (instancetype) | - initWithDrawable: |
| (instancetype) | - initWithOptions: |
| (instancetype) | - initWithOptions:andDrawable: |
| (void) | - play |
| (void) | - pause |
| (void) | - stop |
| (BOOL) | - playItemAtIndex: |
| (void) | - playItemAtNumber: |
| (void) | - playMedia: |
Properties | |
| VLCMediaList * | mediaList |
| VLCMedia * | rootMedia |
| VLCMediaPlayer * | mediaPlayer |
| id< VLCMediaListPlayerDelegate > | delegate |
| BOOL | next |
| BOOL | previous |
| VLCRepeatMode | repeatMode |
A media list player, which eases the use of playlists
| - (instancetype) initWithDrawable: | (id) | drawable |
initializer with a certain drawable
| - (instancetype) initWithOptions: | (NSArray *) | options |
initializer with a custom options
| - (instancetype) initWithOptions: | (NSArray *) | options | |
| andDrawable: | (id) | drawable | |
initializer with a certain drawable and options
| - (void) pause |
pause playback
| - (void) play |
start playback
| - (BOOL) playItemAtIndex: | ((deprecated)) | __attribute__ |
play an item at at a given index in the media list attached to the player
| - (void) playItemAtNumber: | (NSNumber *) | index |
play an item at a given index in the media list attached to the player
| - (void) playMedia: | (VLCMedia *) | media |
media must be in the current media list.
| - (void) stop |
stop playback
|
readwritenonatomicweak |
Receiver's delegate
|
readwriteatomicassign |
setter/getter for mediaList to play within the player
|
readatomicassign |
the media player instance used for playback by the list player
|
readatomicassign |
play next item
|
readatomicassign |
play previous item
|
readwriteatomicassign |
Playmode selection (don't repeat anything, repeat one, repeat all) See VLCRepeatMode.
|
readwriteatomicassign |
rootMedia - Use this method to play a media and its subitems. This will erase mediaList. Setting mediaList will erase rootMedia.
1.8.17