toggle menu
stream-chat-android
6.8.0
androidJvm
switch theme
search in API
stream-chat-android-ui-common
/
io.getstream.chat.android.ui.common.state.messages.composer
/
RecordingState
/
Hold
Hold
data
class
Hold
(
val
durationInMs
:
Int
=
0
,
val
waveform
:
List
<
Float
>
=
emptyList()
,
val
offset
:
Pair
<
Float
,
Float
>
=
ZeroOffset
)
:
RecordingState.Recording
Members
Members & Extensions
Constructors
Hold
Link copied to clipboard
constructor
(
durationInMs
:
Int
=
0
,
waveform
:
List
<
Float
>
=
emptyList()
,
offset
:
Pair
<
Float
,
Float
>
=
ZeroOffset
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
duration
In
Ms
Link copied to clipboard
open
override
val
durationInMs
:
Int
=
0
offset
Link copied to clipboard
val
offset
:
Pair
<
Float
,
Float
>
offset
X
Link copied to clipboard
val
offsetX
:
Float
offset
Y
Link copied to clipboard
val
offsetY
:
Float
waveform
Link copied to clipboard
open
override
val
waveform
:
List
<
Float
>
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Inherited functions
copy
Link copied to clipboard
fun
RecordingState.Recording
.
copy
(
duration
:
Int
=
this.durationInMs
,
waveform
:
List
<
Float
>
=
this.waveform
)
:
RecordingState.Recording