VLCMediaListPlayer.h
/*****************************************************************************
* VLCMediaListPlayer.h: VLCKit.framework VLCMediaListPlayer implementation
*****************************************************************************
* Copyright (C) 2009 Pierre d'Herbemont
* Partial Copyright (C) 2009-2013 Felix Paul Kühne
* Copyright (C) 2009-2013 VLC authors and VideoLAN
* $Id$
*
* Authors: Pierre d'Herbemont <pdherbemont # videolan.org>
* Felix Paul Kühne <fkuehne # videolan.org
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
@class VLCMedia, VLCMediaPlayer, VLCMediaList;
typedef NS_ENUM(NSInteger, VLCRepeatMode) {
VLCDoNotRepeat,
VLCRepeatCurrentItem,
VLCRepeatAllItems
};
@interface VLCMediaListPlayer : NSObject
@property (readwrite) VLCMediaList *mediaList;
@property (readwrite) VLCMedia *rootMedia;
@property (readonly) VLCMediaPlayer *mediaPlayer;
- (instancetype)initWithDrawable:(id)drawable;
- (instancetype)initWithOptions:(NSArray *)options;
- (instancetype)initWithOptions:(NSArray *)options andDrawable:(id)drawable;
- (void)play;
- (void)pause;
- (void)stop;
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL next;
@property (NS_NONATOMIC_IOSONLY, readonly) BOOL previous;
- (BOOL)playItemAtIndex:(int)index __attribute__((deprecated));
- (void)playItemAtNumber:(NSNumber *)index;
@property (readwrite) VLCRepeatMode repeatMode;
- (void)playMedia:(VLCMedia *)media;
@end
VLCMediaListPlayer
Definition: VLCMediaListPlayer.h:42
VLCMediaListPlayer::next
BOOL next
Definition: VLCMediaListPlayer.h:96
VLCMediaListPlayer::repeatMode
VLCRepeatMode repeatMode
Definition: VLCMediaListPlayer.h:118
VLCMediaList
Definition: VLCMediaList.h:67
VLCMediaListPlayer::rootMedia
VLCMedia * rootMedia
Definition: VLCMediaListPlayer.h:55
VLCMediaListPlayer::mediaPlayer
VLCMediaPlayer * mediaPlayer
Definition: VLCMediaListPlayer.h:60
VLCMediaPlayer
Definition: VLCMediaPlayer.h:134
VLCMediaListPlayer::mediaList
VLCMediaList * mediaList
Definition: VLCMediaListPlayer.h:48
VLCMedia
Definition: VLCMedia.h:112
VLCMediaListPlayer::previous
BOOL previous
Definition: VLCMediaListPlayer.h:101
-[VLCMediaListPlayer play]
void play()
-[VLCMediaListPlayer stop]
void stop()
-[VLCMediaListPlayer pause]
void pause()