enableCameraCenterStage abstract method
Enables or disables portrait center stage.
The portrait center stage feature is off by default. You need to call this method to turn it on. If you need to disable this feature, you need to call this method again and set enabled to false. This method is for iOS and macOS only.
enabled
Whether to enable the portrait center stage: true : Enable portrait center stage. false : Disable portrait center stage.
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> enableCameraCenterStage(bool enabled);