ViewChannelViewAutoDismiss
TYPE DEFINITION
AutoDismiss means that the ViewChannelView will dismiss itself after a duration.
Contains wether or not the autoDismiss is playing via isPlaying and the current duration via duration.
Since 1.0.0
Properties
-
duration
number
The amount of milliseconds the view should remain visible to the user. Once the duration has passed the view is removed from the ViewChannel automatically.
This duration is the duration for when the ViewChannelView started playing. It is not affected by calling pause, meaning that when the duration is set to 200ms and you pause after 100ms, the duration will still be 200ms.
When calling stop, or when the ViewChannelView is dismissed the duration will be set to zero.
Since 1.0.0
-
isPlaying
boolean
Whether or not the ViewChannelView is playing. In other words whether or not the ViewChannelView is going to be autoDismissed after a duration.
Since 1.0.0