RtcMessageServiceHandler class
Callback of RtcMessageService, the callback must be set to RtcMessageService to get events notification.
RtcMessageService 的回调函数, 在使用 RtcMessageService 之前必须要设置回调以获取事件通知。
Constructors
- RtcMessageServiceHandler.new({OnServiceStateChanged? onServiceStateChanged, OnUserMessage? onUserMessage, OnSubscribeResult? onSubscribeResult, OnTopicMessage? onTopicMessage, OnPublishTopicMessageFailed? onPublishTopicMessageFailed, OnPropertyChanged? onPropertyChanged})
- Constructs a RtcMessageServiceHandler
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPropertyChanged ↔ OnPropertyChanged?
-
Notification of message service property change.
getter/setter pair
- onPublishTopicMessageFailed ↔ OnPublishTopicMessageFailed?
-
Notification of topic message sending failed.
getter/setter pair
- onServiceStateChanged ↔ OnServiceStateChanged?
-
Notification of message service state change.
getter/setter pair
- onSubscribeResult ↔ OnSubscribeResult?
-
Notification of topic subscribe result.
getter/setter pair
- onTopicMessage ↔ OnTopicMessage?
-
Notification of topic message.
getter/setter pair
- onUserMessage ↔ OnUserMessage?
-
Notification of user message.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited