VLCPlexWebAPI.h 1.3 KB

1234567891011121314151617181920212223242526
  1. /*****************************************************************************
  2. * VLCPlexWebAPI.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2014-2019 VideoLAN. All rights reserved.
  6. *
  7. * Authors: Pierre Sagaspe <pierre.sagaspe # me.com>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import <UIKit/UIKit.h>
  12. @interface VLCPlexWebAPI : NSObject
  13. - (NSMutableDictionary *)PlexBasicAuthentification:(NSString *)username password:(NSString *)password;
  14. - (NSString *)PlexAuthentification:(NSString *)username password:(NSString *)password;
  15. - (NSString *)urlAuth:(NSString *)url authentification:(NSString *)auth;
  16. - (void)stopSession:(NSString *)adress port:(NSString *)port session:(NSString *)session;
  17. - (NSInteger)MarkWatchedUnwatchedMedia:(NSString *)address port:(NSString *)port videoRatingKey:(NSString *)ratingKey state:(NSString *)state authentification:(NSString *)auth;
  18. - (NSString *)getFileSubtitleFromPlexServer:(NSDictionary *)mediaObject modeStream:(BOOL)modeStream error:(NSError *__autoreleasing*)error;
  19. - (NSString *)getSession;
  20. + (NSString *)urlAuth:(NSString *)url authentification:(NSString *)auth;
  21. @end