EMCDDeviceManagerProximitySensorDelegate.h 794 B

123456789101112131415161718192021222324252627
  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. @protocol EMCDDeviceManagerProximitySensorDelegate <NSObject>
  14. /*!
  15. @method
  16. @brief Posted when the state of the proximity sensor changes.
  17. @param isCloseToUser indicates whether the proximity sensor is close to the user (YES) or not (NO).
  18. @discussion
  19. @result
  20. */
  21. - (void)proximitySensorChanged:(BOOL)isCloseToUser;
  22. @end