setScreenCaptureContentHint abstract method

Future<void> setScreenCaptureContentHint(
  1. VideoContentHint contentHint
)

Sets the content hint for screen sharing.

A content hint suggests the type of the content being shared, so that the SDK applies different optimization algorithms to different types of content. If you don't call this method, the default content hint is contentHintNone. You can call this method either before or after you start screen sharing.

  • contentHint The content hint for screen sharing. See VideoContentHint.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setScreenCaptureContentHint(VideoContentHint contentHint);