EMCDDeviceManagerBase.h 935 B

12345678910111213141516171819202122232425262728293031323334
  1. /************************************************************
  2. * * Hyphenate CONFIDENTIAL
  3. * __________________
  4. * Copyright (C) 2016 Hyphenate Inc. All rights reserved.
  5. *
  6. * NOTICE: All information contained herein is, and remains
  7. * the property of Hyphenate Inc.
  8. * Dissemination of this information or reproduction of this material
  9. * is strictly forbidden unless prior written permission is obtained
  10. * from Hyphenate Inc.
  11. */
  12. #import <Foundation/Foundation.h>
  13. #import "EMCDDeviceManagerDelegate.h"
  14. @interface EMCDDeviceManager : NSObject{
  15. // recorder
  16. NSDate *_recorderStartDate;
  17. NSDate *_recorderEndDate;
  18. NSString *_currCategory;
  19. BOOL _currActive;
  20. // proximitySensor
  21. BOOL _isSupportProximitySensor;
  22. BOOL _isCloseToUser;
  23. }
  24. @property (nonatomic, assign) id <EMCDDeviceManagerDelegate> delegate;
  25. +(EMCDDeviceManager *)sharedInstance;
  26. @end