Api24Impl

@RequiresApi(24) class Api24Impl
kotlin.Any
   ↳ androidx.camera.video.internal.compat.Api24Impl

Helper class to avoid verification errors for methods introduced in Android 7.0 (API 24).

Summary

Public methods
static Int
getClientAudioSessionId(@NonNull audioRecordingConfiguration: AudioRecordingConfiguration)

Gets the audio session ID from a AudioRecordingConfiguration.

static Int
getTimestamp(@NonNull audioRecord: AudioRecord, @NonNull audioTimestamp: AudioTimestamp, timeBase: Int)

Gets the audio timestamp from a AudioRecord.

Public methods

getClientAudioSessionId

static fun getClientAudioSessionId(@NonNull audioRecordingConfiguration: AudioRecordingConfiguration): Int

Gets the audio session ID from a AudioRecordingConfiguration.

getTimestamp

static fun getTimestamp(
    @NonNull audioRecord: AudioRecord,
    @NonNull audioTimestamp: AudioTimestamp,
    timeBase: Int
): Int

Gets the audio timestamp from a AudioRecord.