From 03c521dc56dd510b98b7420641720ad1adc5d917 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:31:58 +0800 Subject: [PATCH] New translations --- ...k_irtcengineeventhandler_onuserjoined.dita | 2 +- en-US/dita/RTC-NG/API/class_canvas.dita | 67 ------------- en-US/dita/RTC-NG/API/rtc_api_data_type.dita | 94 ++++++++++--------- 3 files changed, 49 insertions(+), 114 deletions(-) diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index dd4f2fb144e..ad77e56877d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -68,7 +68,7 @@ elapsed - Time delay (ms) from the local user calling until this callback is triggered. + Time delay (ms) from the local user calling until this callback is triggered. Time delay (ms) from the local user calling until this callback is triggered. diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index 5a0cb8635dd..b0ce4aff9c5 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -3,71 +3,4 @@ <ph keyref="Canvas"/> This class provides methods for video rendering. - -
-

- public class Canvas { - public Canvas(Rte rte, CanvasInitialConfig config); - public void addView(View view, ViewConfig viewConfig) throws RteException; - public void removeView(View view, ViewConfig viewConfig) throws RteException; - public void getConfigs(CanvasConfig config) throws RteException; - public void setConfigs(CanvasConfig config) throws RteException; -} - - @interface AgoraRteCanvas : NSObject -- (instancetype _Nonnull)initWithRte:(AgoraRte* _Nonnull)rte initialConfig:(AgoraRteCanvasInitialConfig * _Nullable)config; -- (BOOL)getConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; -- (BOOL)setConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; -- (BOOL)addView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; -- (BOOL)removeView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; -@end - class Canvas { - public: - Canvas(Rte *rte, CanvasInitialConfig *initial_config); - bool GetConfigs(CanvasConfig *config, Error *err); - bool SetConfigs(CanvasConfig *config, Error *err); - bool AddView(View *view, ViewConfig *config, rte::Error *err) - bool RemoveView(View *view, ViewConfig *config, rte::Error *err); - -}; - - - - -

-
-
-
- -
Since
-
v4.5.0
-
-
-

-

-
- Method - - - - Creates a Canvas object. See . - - - - Sets the vide render mode. See . - - - - Gets the current video render mode. See . - - - - Adds a view. See . - - - - Removes a view. See . - -
-
diff --git a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita index a3c36037019..df429dcddb7 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita @@ -22,7 +22,7 @@
  • -
  • +
  • @@ -31,7 +31,7 @@
  • -
  • +
  • @@ -42,7 +42,7 @@
  • -
  • +
  • @@ -90,6 +90,7 @@
  • +
  • @@ -104,8 +105,8 @@
  • -
  • -
  • +
  • +
  • @@ -154,7 +155,7 @@
  • -
  • +
  • @@ -173,11 +174,10 @@
  • -
  • -
  • +
  • @@ -185,7 +185,7 @@
  • -
  • +
  • @@ -237,6 +237,7 @@
  • +
  • @@ -253,10 +254,9 @@
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • @@ -399,7 +399,7 @@
  • -
  • +
  • @@ -412,7 +412,7 @@
  • -
  • +
  • @@ -422,7 +422,7 @@
  • -
  • +
  • @@ -461,6 +461,7 @@
  • +
  • @@ -473,8 +474,8 @@
  • -
  • -
  • +
  • +
  • @@ -518,7 +519,7 @@
  • -
  • +
  • @@ -530,7 +531,7 @@
  • -
  • +
  • @@ -540,7 +541,7 @@
  • -
  • +
  • @@ -574,6 +575,7 @@
  • +
  • @@ -586,8 +588,8 @@
  • -
  • -
  • +
  • +
  • @@ -1320,12 +1322,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • @@ -1404,11 +1406,11 @@
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • @@ -1571,12 +1573,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • @@ -1711,12 +1713,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +