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.contract.internal
/
CaptureMediaContract
Capture
Media
Contract
class
CaptureMediaContract
(
mode
:
CaptureMediaContract.Mode
)
:
ActivityResultContract
<
Unit
,
File
?
>
Members
Constructors
Capture
Media
Contract
Link copied to clipboard
constructor
(
mode
:
CaptureMediaContract.Mode
)
Types
Mode
Link copied to clipboard
enum
Mode
:
Enum
<
CaptureMediaContract.Mode
>
Functions
create
Intent
Link copied to clipboard
open
override
fun
createIntent
(
context
:
Context
,
input
:
Unit
)
:
Intent
parse
Result
Link copied to clipboard
open
override
fun
parseResult
(
resultCode
:
Int
,
intent
:
Intent
?
)
:
File
?
Inherited functions
get
Synchronous
Result
Link copied to clipboard
open
fun
getSynchronousResult
(
context
:
Context
,
input
:
Unit
)
:
ActivityResultContract.SynchronousResult
<
File
?
>
?