@@ -58,10 +58,10 @@ typedef NSInteger VLCRepeatMode;
- (id)initWithOptions:(NSArray *)options;
/**
- * Basic play and stop are here. For other method, use the mediaPlayer.
- * This may change.
+ * Basic play, pause and stop are here. For other methods, use the mediaPlayer.
*/
- (void)play;
+- (void)pause;
- (void)stop;
@@ -22,6 +22,7 @@ New APIs:
- added property: snapshotPosition to overwrite the default
- VLCMediaListPlayer:
- added initWithOptions selector matching VLCMediaPlayer's implementation
+ - added pause selector
Modified API behavior:
- VLCMediaPlayer:
@@ -118,6 +118,11 @@
libvlc_media_list_player_play(instance);
}
+- (void)pause
+{
+ libvlc_media_list_player_pause(instance);
+}
+
- (void)stop
{
libvlc_media_list_player_stop(instance);