GlobalState constructor

GlobalState({
  1. Map<int, Context> clients = const {},
  2. Map<int, List<ActionFunctionRegister>> functions = const {},
  3. Map<String, UIStreamState> uIStreams = const {},
  4. Map<String, AudioStreamState> audioStreams = const {},
  5. Map<String, VideoStreamState> videoStreams = const {},
  6. Map<String, TrackingStreamState> trackingStreams = const {},
  7. String spaceId = '',
  8. String channelId = '',
  9. String serverSessionId = '',
  10. String sessionHash = '',
  11. String channelUrl = '',
  12. String sessionChannelUrl = '',
  13. String firstUserId = '',
  14. String primaryUserId = '',
  15. String organisationName = '',
  16. String spaceName = '',
  17. String channelName = '',
  18. ServerRunType serverRunType = ServerRunType.local,
  19. AppSourceType appSourceType = AppSourceType.bundle,
  20. bool publicAccess = false,
  21. bool debugMode = false,
})

Implementation

GlobalState({
    this.clients = const {},
    this.functions = const {},
    this.uIStreams = const {},
    this.audioStreams = const {},
    this.videoStreams = const {},
    this.trackingStreams = const {},
    this.spaceId = '',
    this.channelId = '',
    this.serverSessionId = '',
    this.sessionHash = '',
    this.channelUrl = '',
    this.sessionChannelUrl = '',
    this.firstUserId = '',
    this.primaryUserId = '',
    this.organisationName = '',
    this.spaceName = '',
    this.channelName = '',
    this.serverRunType = ServerRunType.local,
    this.appSourceType = AppSourceType.bundle,
    this.publicAccess = false,
    this.debugMode = false,
});