VLCWatchCommunication.h 908 B

123456789101112131415161718192021222324252627
  1. /*****************************************************************************
  2. * VLCWatchCommunication.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Author: Tobias Conradi <videolan # tobias-conradi.de>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <Foundation/Foundation.h>
  13. #import <WatchConnectivity/WatchConnectivity.h>
  14. NS_ASSUME_NONNULL_BEGIN
  15. @interface VLCWatchCommunication : NSObject <WCSessionDelegate>
  16. + (BOOL)isSupported;
  17. + (instancetype)sharedInstance;
  18. - (void)startRelayingNotificationName:(nullable NSString *)name object:(nullable id)object;
  19. - (void)stopRelayingNotificationName:(nullable NSString *)name object:(nullable id)object;
  20. @end
  21. NS_ASSUME_NONNULL_END