diff --git a/shared/signaling/reference/api-ref/shared/_rtmstatus.mdx b/shared/signaling/reference/api-ref/shared/_rtmstatus.mdx index 5d4ed7c9d..2a3fc1162 100644 --- a/shared/signaling/reference/api-ref/shared/_rtmstatus.mdx +++ b/shared/signaling/reference/api-ref/shared/_rtmstatus.mdx @@ -9,7 +9,7 @@ -```JavaScript +```javaScript type ErrorInfo = { error: boolean; // Whether an error occurs. operation: string; // Operation type of this method call. @@ -19,4 +19,4 @@ type ErrorInfo = { ``` For details, see [Error Codes](#error-codes-table). - \ No newline at end of file + diff --git a/shared/signaling/storage/reference/oc.mdx b/shared/signaling/storage/reference/oc.mdx index 999a3dde3..ed05d09ac 100644 --- a/shared/signaling/storage/reference/oc.mdx +++ b/shared/signaling/storage/reference/oc.mdx @@ -813,7 +813,7 @@ get all metadata items of the channel. **Method** -```obj +```objective-c - (void)getChannelMetadataWithCompletion:(AgoraRtmGetChannelMetadataBlock _Nullable)completionBlock; ``` @@ -923,4 +923,4 @@ When this event occurs, you can recieve a type `RtmMetadata` for the specific ` > **Caution**: It should be noted that the returned data contains the full amount of data of the current channel, `Add`/`Set`/`Clear`/`Update`/`Delete` operation all will trigger this event, and you cannot distinguish which operation caused the current event. Need more features, you can use our new version 2.1. - \ No newline at end of file +