VChatCloud class
VChatCloud.connect()
실행으로 초기화
실행 후 socket
객체를 반환하는데 Channel
클래스를 상속받아 새 클래스를 만들어야 한다.
예시 코드:
class CustomHandler extends ChannelHandler {
...
}
void main() async {
var channel = await VChatCloud.connect(CustomHandler());
await channel.join(...);
}
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
connect(
ChannelHandler channelHandler, {String? url}) → Future< Channel> - 초기 실행
-
disconnect(
VChatCloudResult result) → dynamic