userSuperResolutionEnabled property

UserSuperResolutionEnabledCallback? userSuperResolutionEnabled
getter/setter pair

Reports whether the super resolution feature is successfully enabled. (beta feature)

After calling RtcEngine.enableRemoteSuperResolution, the SDK triggers this callback to report whether super resolution is successfully enabled. If it is not successfully enabled, use reason for troubleshooting.

The UserSuperResolutionEnabledCallback typedef includes the following parameters:

Parameter uid The user ID of the remote user.

Parameter enabled Whether super resolution is successfully enabled:

  • true: Super resolution is successfully enabled.
  • false: Super resolution is not successfully enabled.

Parameter reason The reason why super resolution is not successfully enabled or the message that confirms success.

Implementation

UserSuperResolutionEnabledCallback? userSuperResolutionEnabled;