toggle menu
stream-chat-android
6.6.0
androidJvm
switch theme
search in API
stream-chat-android-compose
/
io.getstream.chat.android.compose.viewmodel.messages
/
AudioPlayerViewModelFactory
Audio
Player
View
Model
Factory
class
AudioPlayerViewModelFactory
(
getAudioPlayer
:
(
)
->
AudioPlayer
,
getRecordingUri
:
(
Attachment
)
->
String
?
)
:
ViewModelProvider.Factory
Members
Constructors
Audio
Player
View
Model
Factory
Link copied to clipboard
constructor
(
getAudioPlayer
:
(
)
->
AudioPlayer
,
getRecordingUri
:
(
Attachment
)
->
String
?
)
Functions
create
Link copied to clipboard
open
override
fun
<
T
:
ViewModel
>
create
(
modelClass
:
Class
<
T
>
)
:
T
Inherited functions
create
Link copied to clipboard
open
fun
<
T
:
ViewModel
>
create
(
modelClass
:
Class
<
T
>
,
extras
:
CreationExtras
)
:
T
open
fun
<
T
:
ViewModel
>
create
(
modelClass
:
KClass
<
T
>
,
extras
:
CreationExtras
)
:
T