[][src]Struct agorartc_sys::agorartc::agorartcnative::ChannelEventHandler

#[repr(C)]pub struct ChannelEventHandler {
    pub onWarning: FUNC_OnChannelWarning,
    pub onError: FUNC_OnChannelError,
    pub onJoinChannelSuccess: FUNC_OnChannelJoinChannelSuccess,
    pub onRejoinChannelSuccess: FUNC_OnChannelReJoinChannelSuccess,
    pub onLeaveChannel: FUNC_OnChannelLeaveChannel,
    pub onClientRoleChanged: FUNC_OnChannelClientRoleChanged,
    pub onUserJoined: FUNC_OnChannelUserJoined,
    pub onUserOffLine: FUNC_OnChannelUserOffLine,
    pub onConnectionLost: FUNC_OnChannelConnectionLost,
    pub onRequestToken: FUNC_OnChannelRequestToken,
    pub onTokenPrivilegeWillExpire: FUNC_OnChannelTokenPrivilegeWillExpire,
    pub onRtcStats: FUNC_OnChannelRtcStats,
    pub onNetworkQuality: FUNC_OnChannelNetworkQuality,
    pub onRemoteVideoStats: FUNC_OnChannelRemoteVideoStats,
    pub onRemoteAudioStats: FUNC_OnChannelRemoteAudioStats,
    pub onRemoteAudioStateChanged: FUNC_OnChannelRemoteAudioStateChanged,
    pub onActiveSpeaker: FUNC_OnChannelActiveSpeaker,
    pub onVideoSizeChanged: FUNC_OnChannelVideoSizeChanged,
    pub onRemoteVideoStateChanged: FUNC_OnChannelRemoteVideoStateChanged,
    pub onStreamMessage: FUNC_OnChannelStreamMessage,
    pub onStreamMessageError: FUNC_OnChannelStreamMessageError,
    pub onMediaRelayStateChanged: FUNC_OnChannelMediaRelayStateChanged2,
    pub onMediaRelayEvent: FUNC_OnChannelMediaRelayEvent2,
    pub onRtmpStreamingStateChanged: FUNC_OnChannelRtmpStreamingStateChanged,
    pub onTranscodingUpdated: FUNC_OnChannelTranscodingUpdated,
    pub onStreamInjectedStatus: FUNC_OnChannelStreamInjectedStatus,
    pub onRemoteSubscribeFallbackToAudioOnly: FUNC_OnChannelRemoteSubscribeFallbackToAudioOnly,
    pub onConnectionStateChanged: FUNC_OnChannelConnectionStateChanged,
    pub onLocalPublishFallbackToAudioOnly: FUNC_OnChannelLocalPublishFallbackToAudioOnly,
    pub onTestEnd: FUNC_OnChannelTestEnd,
}

Fields

onWarning: FUNC_OnChannelWarningonError: FUNC_OnChannelErroronJoinChannelSuccess: FUNC_OnChannelJoinChannelSuccessonRejoinChannelSuccess: FUNC_OnChannelReJoinChannelSuccessonLeaveChannel: FUNC_OnChannelLeaveChannelonClientRoleChanged: FUNC_OnChannelClientRoleChangedonUserJoined: FUNC_OnChannelUserJoinedonUserOffLine: FUNC_OnChannelUserOffLineonConnectionLost: FUNC_OnChannelConnectionLostonRequestToken: FUNC_OnChannelRequestTokenonTokenPrivilegeWillExpire: FUNC_OnChannelTokenPrivilegeWillExpireonRtcStats: FUNC_OnChannelRtcStatsonNetworkQuality: FUNC_OnChannelNetworkQualityonRemoteVideoStats: FUNC_OnChannelRemoteVideoStatsonRemoteAudioStats: FUNC_OnChannelRemoteAudioStatsonRemoteAudioStateChanged: FUNC_OnChannelRemoteAudioStateChangedonActiveSpeaker: FUNC_OnChannelActiveSpeakeronVideoSizeChanged: FUNC_OnChannelVideoSizeChangedonRemoteVideoStateChanged: FUNC_OnChannelRemoteVideoStateChangedonStreamMessage: FUNC_OnChannelStreamMessageonStreamMessageError: FUNC_OnChannelStreamMessageErroronMediaRelayStateChanged: FUNC_OnChannelMediaRelayStateChanged2onMediaRelayEvent: FUNC_OnChannelMediaRelayEvent2onRtmpStreamingStateChanged: FUNC_OnChannelRtmpStreamingStateChangedonTranscodingUpdated: FUNC_OnChannelTranscodingUpdatedonStreamInjectedStatus: FUNC_OnChannelStreamInjectedStatusonRemoteSubscribeFallbackToAudioOnly: FUNC_OnChannelRemoteSubscribeFallbackToAudioOnlyonConnectionStateChanged: FUNC_OnChannelConnectionStateChangedonLocalPublishFallbackToAudioOnly: FUNC_OnChannelLocalPublishFallbackToAudioOnlyonTestEnd: FUNC_OnChannelTestEnd

Trait Implementations

impl Clone for ChannelEventHandler[src]

impl Copy for ChannelEventHandler[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.