Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Libsoftphone
/
cz.acrobits.libsoftphone
/
Instance
/
Recording
Recording
class
Recording
Methods for audio recording.
Members
Constructors
Recording
Link copied to clipboard
constructor
(
)
Functions
get
Duration
Link copied to clipboard
@
CheckResult
@
MainThread
@
IntRange
(
from
=
0
)
open
fun
getDuration
(
)
:
Int
Get length of the current recording.
is
Recording
Link copied to clipboard
@
CheckResult
@
MainThread
open
fun
isRecording
(
)
:
Boolean
Check whether recording is in progress.
start
Link copied to clipboard
@
MainThread
open
fun
start
(
@
NonNull
file
:
File
)
:
Boolean
@
MainThread
open
fun
start
(
@
NonNull
file
:
File
,
@
Nullable
format
:
String
)
:
Boolean
Start recording.
stop
Link copied to clipboard
@
MainThread
open
fun
stop
(
)
Stop recording.