EMCDDeviceManager+Microphone.h 661 B

1234567891011121314151617181920212223
  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 "EMCDDeviceManager.h"
  13. @interface EMCDDeviceManager (Microphone)
  14. // Check the availability for microphone
  15. - (BOOL)emCheckMicrophoneAvailability;
  16. // Get the audio volumn (0~1)
  17. - (double)emPeekRecorderVoiceMeter;
  18. @end