BroadcastManager class

Broadcast Manager:

There are some operations that can be performed on a single broadcast, for which you require a BroadcastManager

Constructors

BroadcastManager({required String broadcastId})

Properties

broadcastId String
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addQA({required String question}) Future<void>
Creates a new QA
getAd({required String qaId}) Future<QuestionAnswer>
Returns a QuestionAnswer of the broadcast
getBannedUsers() Future<List<BanUser>>
Returns List of BanUser of this broadcast
getChannelManager({required String channelId}) ChannelManager
Contains all data related to channel
getChannels() Future<List<Channel>>
Returns List of Channel of the broadcast
getFeatures() Future<Features>
Returns Features of the broadcast
getFileArchives() Future<List<FileArchive>>
Returns the List of FileArchive available in this broadcast
getGeneralChatSettings() Future<GeneralChatSettings>
Returns GeneralChatSettings of chat of the broadcast
getPollInfo({required String pollId}) Future<Poll>
Returns the Poll info
getPollManager({required String pollId}) → PollManager
Returns an instance of PollManager which can be used for operations related to a specific poll having a unique id known as pollId
getPolls() Future<List<Poll>>
Returns the List of Poll available for this broadcast
getQA({required String qaId}) Future<QuestionAnswer>
Returns a QA of the broadcast
getQAs({required bool includeUserQuestions}) Future<List<QuestionAnswer>>
Returns List of QuestionAnswer of current user
getTabs() Future<Navigation>
Returns Navigation containing tabs of the broadcast
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(dynamic broadcastSubscriptionFunc(Spect8Event)) → void
Subscribes to the broadcast wide messages socket,
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited