shared
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
shared
shared
/
com.mediasfu.sdk.ui.mediasfu
/
PollsState
Polls
State
class
PollsState
(
parameters
:
MediasfuParameters
,
notifier
:
(
)
->
Unit
)
Members
Constructors
Polls
State
Link copied to clipboard
constructor
(
parameters
:
MediasfuParameters
,
notifier
:
(
)
->
Unit
)
Properties
active
Poll
Link copied to clipboard
var
activePoll
:
Poll
?
is
Poll
Modal
Visible
Link copied to clipboard
var
isPollModalVisible
:
Boolean
poll
Link copied to clipboard
val
poll
:
Poll
?
polls
Link copied to clipboard
val
polls
:
SnapshotStateList
<
Poll
>
Functions
clear
Active
Poll
Link copied to clipboard
fun
clearActivePoll
(
)
refresh
Link copied to clipboard
fun
refresh
(
)
set
Poll
Modal
Visibility
Link copied to clipboard
fun
setPollModalVisibility
(
visible
:
Boolean
)
update
Is
Poll
Modal
Visible
Link copied to clipboard
fun
updateIsPollModalVisible
(
visible
:
Boolean
)
update
Poll
Link copied to clipboard
fun
updatePoll
(
poll
:
Poll
)
update
Polls
Link copied to clipboard
fun
updatePolls
(
newPolls
:
List
<
Poll
>
)