Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgoraIO/API-Examples
/ functions
Functions
9,923 in github.com/AgoraIO/API-Examples
⨍
Functions
9,923
◇
Types & classes
3,476
Method
onStreamMessageError
Occurs when the local user does not receive the data stream from the remote user. * * The SDK triggers this callback when the user fails to rece
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:618
Method
onStreamMessageError
Occurs when the local user fails to receive a remote data stream. The SDK triggers this callback when the local user fails to receive the stream messa
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/SendDataStream.java:481
Method
onStreamMessageError
* Reports the error that occurs when receiving data stream messages. * * @param userId The ID of the user sending the data stream. * @param s
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraRtcConnection.h:870
Method
onSuccess
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/beauty/FaceUnityBeautySDK.kt:47
Method
onSupportNavigateUp
()
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/MainActivity.java:31
Method
onSupportNavigateUp
()
Android/APIExample/app/src/main/java/io/agora/api/example/MainActivity.java:31
Method
onSurfaceChanged
(GL10 gl, int width, int height)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CustomRemoteVideoRender.java:565
Method
onSurfaceChanged
Called when the surface changed size. <p> Called after the surface is created and whenever the OpenGL ES surface size changes. <p> @param gl the
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:582
Method
onSurfaceChanged
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/CustomVideoRender.kt:262
Method
onSurfaceCreated
(GL10 gl, EGLConfig config)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CustomRemoteVideoRender.java:559
Method
onSurfaceCreated
Called when the surface is created or recreated. @param gl the GL interface. Use <code>instanceof</code> to test if the interface s
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:569
Method
onSurfaceCreated
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/CustomVideoRender.kt:254
Method
onSurfaceTextureAvailable
(SurfaceTexture surface, int width, int height)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/PushExternalVideo.java:381
Method
onSurfaceTextureAvailable
(SurfaceTexture surface, int width, int height)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:414
Method
onSurfaceTextureAvailable
(SurfaceTexture surface, int width, int height)
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/utils/GLTextureView.java:414
Method
onSurfaceTextureDestroyed
(SurfaceTexture surface)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/PushExternalVideo.java:432
Method
onSurfaceTextureDestroyed
(SurfaceTexture surface)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:425
Method
onSurfaceTextureDestroyed
(SurfaceTexture surface)
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/utils/GLTextureView.java:425
Method
onSurfaceTextureSizeChanged
(SurfaceTexture surface, int width, int height)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/PushExternalVideo.java:427
Method
onSurfaceTextureSizeChanged
(SurfaceTexture surface, int width, int height)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:420
Method
onSurfaceTextureSizeChanged
(SurfaceTexture surface, int width, int height)
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/utils/GLTextureView.java:420
Method
onSurfaceTextureUpdated
(SurfaceTexture surface)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/PushExternalVideo.java:449
Method
onSurfaceTextureUpdated
(SurfaceTexture surface)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/videoRender/GLTextureView.java:431
Method
onSurfaceTextureUpdated
(SurfaceTexture surface)
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/utils/GLTextureView.java:431
Method
onTokenGen
(T ret)
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/utils/TokenUtils.java:144
Method
onTokenGen
On token gen. @param token the token
Android/APIExample/app/src/main/java/io/agora/api/example/utils/TokenUtils.java:169
Method
onTokenGen
(String token)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/basic/JoinChannelAudio.java:495
Method
onTokenGen
(String ret)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ContentInspect.java:240
Method
onTokenGen
(String token)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/JoinMultipleChannel.java:311
Method
onTokenGen
(String ret)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CustomRemoteVideoRender.java:282
Method
onTokenPrivilegeWillExpire
* Occurs when the token will expire in 30 seconds. * * When the token is about to expire in 30 seconds, the SDK triggers this callback to remind
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:718
Method
onTokenPrivilegeWillExpire
* @brief Occurs when the token expires in 30 seconds. * * @details * When receiving this callback, you need to generate a new token on your t
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:2909
Method
onTouch
(View v, MotionEvent event)
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/SpatialSound.java:548
Method
onTouch
(View v, MotionEvent event)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/SpatialSound.java:548
Method
onTouchEvent
(MotionEvent event)
Android/APIExample/app/src/main/java/io/agora/api/example/common/floatwindow/AVCallFloatView.java:89
Method
onTranscodedStreamLayoutInfo
* Occurs when receive a video transcoder stream which has video layout info. * * @param connection The RtcConnection object. * @param uid use
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:1049
Method
onTranscodedStreamLayoutInfo
* @brief Occurs when the local user receives a mixed video stream carrying layout information. * * @details * When the local user receives a
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:3565
Method
onTranscodedVideoFrame
windows/APIExample/APIExample/Advanced/FaceCapture/CAgoraFaceCaptureDlg.h:53
Method
onTranscodedVideoFrame
windows/APIExample/APIExample/Advanced/OriginalVideo/CAgoraOriginalVideoDlg.h:48
Method
onTranscodedVideoFrame
windows/APIExample/APIExample/Advanced/OriginalVideo/CAgoraOriginalVideoDlg.h:109
Method
onTranscodedVideoFrame
windows/APIExample/APIExample/Advanced/CustomVideoCapture/CAgoraCaptureVideoDlg.h:37
Method
onTranscodingUpdated
* @brief Occurs when the publisher's transcoding is updated. * * @details * When the `LiveTranscoding` class in the `startRtmpStreamWithTrans
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:3205
Method
onTranscodingUpdated
()
Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/CDNStreaming/HostFragment.java:407
Method
onTranscodingUpdated
* Occurs when the publisher's transcoding settings are updated. * * When the `LiveTranscoding` class in the `setLiveTransocding` method updates,
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/IAgoraRtmpStreamingService.h:85
Method
onUpdateAttributesResponse
* Occurs when the local user calls updateAttributes(). * @param requestId ID of the current attribute update request. * @param resCode The respo
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/IAgoraRtmService.h:501
Method
onUplinkNetworkInfoUpdated
* @brief Occurs when the uplink network information changes. * * @details * The SDK triggers this callback when the uplink network informatio
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:2136
Method
onUplinkNetworkInfoUpdated
* Occurs when downlink network info is updated. * * This callback is used for notifying user to adjust the send pace based * on the target bi
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraRtcConnection.h:930
Method
onUploadLogResult
* Reports the user log upload result * @param connection The RtcConnection object. * @param requestId RequestId of the upload * @param succes
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:970
Method
onUploadLogResult
* Reports the user log upload result * @param requestId RequestId of the upload * @param success Is upload success * @param reason Reason of
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:3470
Method
onUploadLogResult
* Reports the user log upload result * @param requestId RequestId of the upload * @param success Is upload success * @param reason Reason of
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraRtcConnection.h:892
Method
onUserAccountUpdated
* Occurs when the user account is updated. * * @param connection The RtcConnection object. * @param remoteUid The user ID. * @param userAc
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:984
Method
onUserAccountUpdated
* Occurs when the user account is updated. * * @param uid The user ID. * @param userAccount The user account. */
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:3420
Method
onUserAccountUpdated
Technical Preview, please do not depend on this event. */
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraRtcConnection.h:856
Method
onUserEnableLocalVideo
Occurs when a remote user enables or disables local video capturing. The SDK triggers this callback when the remote user resumes or stops capturing
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:468
Method
onUserEnableLocalVideo
* @brief Occurs when a specific remote user enables/disables the local video capturing function. * * @details * The SDK triggers this callbac
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:2517
Method
onUserEnableVideo
Occurs when a remote user enables or disables the video module. Once the video function is disabled, the users cannot see any video. The SDK tri
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:451
Method
onUserEnableVideo
* @brief Occurs when a remote user enables or disables the video module. * * @details * Once the video module is disabled, the user can only
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:2486
Method
onUserInfoUpdated
* @brief Occurs when the SDK gets the user ID and user account of the remote user. * * @details * After a remote user joins the channel, the
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:3409
Method
onUserInfoUpdated
* Occurs when the user media information is updated. * * * @param userId The ID of the user. * @param msg The media information of the use
Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraLocalUser.h:1563
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/JoinChannelVideo.kt:78
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/ChannelEncryption.kt:84
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/LocalVideoTranscoding.kt:83
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/VoiceEffects.kt:77
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/MediaPlayer.kt:88
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/RTMPStreaming.kt:82
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/CustomVideoSource.kt:86
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/JoinChannelVideoToken.kt:81
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/PlayAudioFiles.kt:83
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/CustomAudioSource.kt:77
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/HostAcrossChannel.kt:78
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/PictureInPicture.kt:183
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/LiveStreaming.kt:109
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/OriginVideoData.kt:95
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/MediaRecorder.kt:90
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/SpatialSound.kt:105
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/CustomAudioRender.kt:92
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/SendDataStream.kt:73
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/ScreenSharing.kt:106
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/JoinChannelAudio.kt:85
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/OriginAudioData.kt:81
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/MediaMetadata.kt:82
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/JoinMultiChannel.kt:81
Function
onUserJoined
Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/VideoProcessExtension.kt:84
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/audio/AudioWaveform.java:280
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/basic/JoinChannelAudio.java:582
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/basic/JoinChannelAudioByToken.java:328
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/ProcessAudioRawData.java:414
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/VoiceEffects.java:518
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/RhythmPlayer.java:354
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/PlayAudioFiles.java:475
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param el
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/SpatialSound.java:639
Method
onUserJoined
(int uid, int elapsed)
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/customaudio/CustomAudioSource.java:353
Method
onUserJoined
(int uid, int elapsed)
Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/customaudio/CustomAudioRender.java:309
Method
onUserJoined
* Occurs when a remote user or broadcaster joins the channel. * * - In the COMMUNICATION channel profile, this callback indicates that a remote
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngineEx.h:373
Method
onUserJoined
* @brief Occurs when a remote user (in the communication profile)/ host (in the live streaming * profile) joins the channel. * * @details
Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora/IAgoraRtcEngine.h:2398
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample/app/src/main/java/io/agora/api/example/examples/audio/AudioRouterPlayerIjk.java:253
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample/app/src/main/java/io/agora/api/example/examples/audio/AudioRouterPlayerExo.java:242
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample/app/src/main/java/io/agora/api/example/examples/audio/AudioRouterPlayerNative.java:253
Method
onUserJoined
Occurs when a remote user (Communication)/host (Live Broadcast) joins the channel. @param uid ID of the user whose audio state changes. @param elapsed
Android/APIExample/app/src/main/java/io/agora/api/example/examples/audio/AudioWaveform.java:283
Method
onUserJoined
(int uid, int elapsed)
Android/APIExample/app/src/main/java/io/agora/api/example/examples/basic/JoinChannelAudio.java:612
← previous
next →
7,601–7,700 of 9,923, ranked by callers