ConnectToken constructor
ConnectToken({
- String serverSessionId = '',
- ContextType contextType = ContextType.unknown,
- UserType userType = UserType.unknown,
- PayloadType payloadType = PayloadType.unknown,
- bool isInternal = false,
- bool isSnapshot = false,
- String description = '',
- String userId = '',
- String deviceId = '',
- String productId = '',
- String versionId = '',
- String installId = '',
- String locale = '',
- Opcode opcodeGroupsFromServer = Opcode.NONE,
- Opcode opcodeGroupsToServer = Opcode.NONE,
- int protocolVersion = 0,
- bool hasInput = false,
- String channelLocale = '',
- String embeddedSpaceId = '',
- String authSessionId = '',
- bool receiveAllMessages = false,
- String userAgent = '',
- ClientType clientType = ClientType.unknown,
- Map<
String, String> parameters = const {}, - SdkType sdkType = SdkType.unknown,
- int sdkCapability = 0,
- int viewportWidth = 0,
- int viewportHeight = 0,
- String theme = '',
- String timezone = '',
- bool isTouchDevice = false,
- String initialPath = '',
- StyleFormat styleFormat = StyleFormat.css,
- bool supportsCompression = true,
Implementation
ConnectToken({
this.serverSessionId = '',
this.contextType = ContextType.unknown,
this.userType = UserType.unknown,
this.payloadType = PayloadType.unknown,
this.isInternal = false,
this.isSnapshot = false,
this.description = '',
this.userId = '',
this.deviceId = '',
this.productId = '',
this.versionId = '',
this.installId = '',
this.locale = '',
this.opcodeGroupsFromServer = Opcode.NONE,
this.opcodeGroupsToServer = Opcode.NONE,
this.protocolVersion = 0,
this.hasInput = false,
this.channelLocale = '',
this.embeddedSpaceId = '',
this.authSessionId = '',
this.receiveAllMessages = false,
this.userAgent = '',
this.clientType = ClientType.unknown,
this.parameters = const {},
this.sdkType = SdkType.unknown,
this.sdkCapability = 0,
this.viewportWidth = 0,
this.viewportHeight = 0,
this.theme = '',
this.timezone = '',
this.isTouchDevice = false,
this.initialPath = '',
this.styleFormat = StyleFormat.css,
this.supportsCompression = true,
});