ZMVideoSDKShareSettingHelper.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #import <Foundation/Foundation.h>
  2. #import "ZMVideoSDKDef.h"
  3. NS_ASSUME_NONNULL_BEGIN
  4. /**
  5. @brief Share setting helper interface.
  6. */
  7. @interface ZMVideoSDKShareSettingHelper : NSObject
  8. /**
  9. * @brief Set screen capture mode.
  10. * @param captureMode The mode to be set.
  11. * @return If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.
  12. */
  13. - (ZMVideoSDKErrors)setScreenCaptureMode:(ZMVideoSDKScreenCaptureMode)captureMode;
  14. /**
  15. * @brief Get the screen capture mode.
  16. * @param captureMode The screen capture mode.
  17. * @return If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.
  18. */
  19. - (ZMVideoSDKErrors)getScreenCaptureMode:(ZMVideoSDKScreenCaptureMode*)captureMode;
  20. /**
  21. * @brief Set the visibility of the green border when sharing the screen.
  22. * @param bEnable True indicates to display the green border. False hide.
  23. * @return If the function succeeds, it will return ZMVideoSDKErrors_Success, otherwise not.
  24. */
  25. - (ZMVideoSDKErrors)enableGreenBorder:(BOOL)bEnable;
  26. /**
  27. * @brief Determine if the green border is enabled when user shares the screen.
  28. * @return True indicates enabled. False not.
  29. */
  30. - (BOOL)isGreenBorderEnabled;
  31. @end
  32. NS_ASSUME_NONNULL_END