/***************************************************************************** * VLCRemoteControlService.h * VLC for iOS ***************************************************************************** * Copyright (c) 2017 VideoLAN. All rights reserved. * $Id$ * * Authors: Carola Nitz * * Refer to the COPYING file of the official project for license. *****************************************************************************/ @class VLCRemoteControlService; @protocol VLCRemoteControlServiceDelegate - (void)remoteControlServiceHitPlay:(VLCRemoteControlService *)rcs; - (void)remoteControlServiceHitPause:(VLCRemoteControlService *)rcs; - (void)remoteControlServiceTogglePlayPause:(VLCRemoteControlService *)rcs; - (void)remoteControlServiceHitStop:(VLCRemoteControlService *)rcs; - (BOOL)remoteControlServiceHitPlayNextIfPossible:(VLCRemoteControlService *)rcs; - (BOOL)remoteControlServiceHitPlayPreviousIfPossible:(VLCRemoteControlService *)rcs; - (void)remoteControlService:(VLCRemoteControlService *)rcs jumpForwardInSeconds:(NSTimeInterval)seconds; - (void)remoteControlService:(VLCRemoteControlService *)rcs jumpBackwardInSeconds:(NSTimeInterval)seconds; - (NSInteger)remoteControlServiceNumberOfMediaItemsinList:(VLCRemoteControlService *)rcs; - (void)remoteControlService:(VLCRemoteControlService *)rcs setPlaybackRate:(CGFloat)playbackRate; - (void)remoteControlService:(VLCRemoteControlService *)rcs setCurrentPlaybackTime:(NSTimeInterval)playbackTime; @end @interface VLCRemoteControlService : NSObject @property (nonatomic, weak) id remoteControlServiceDelegate; - (void)subscribeToRemoteCommands; - (void)unsubscribeFromRemoteCommands; @end