@nativescript-community/audio
    Preparing search index...

    Interface AudioRecorderOptions

    interface AudioRecorderOptions {
        android?: AudioRecorderAndroidOptions;
        audioMixing?: boolean;
        bitRate?: any;
        channels?: any;
        errorCallback?: Function;
        filename: string;
        format?: any;
        infoCallback?: Function;
        ios?: { [k: string]: any };
        maxDuration?: number;
        metering?: boolean;
        sampleRate?: any;
        sessionCategory?: string;
        sessionCategoryOptions?: number;
        sessionMode?: string;
        sessionRouteSharingPolicy?: AVAudioSessionRouteSharingPolicy;
    }
    Index

    Properties

    audioMixing?: boolean

    Should mix audio.

    bitRate?: any
    channels?: any
    errorCallback?: Function

    Callback to execute when playback has an error.

    An object containing the native values for the error callback.

    filename: string

    The name of the file recorded.

    format?: any

    The format of the audio recording.

    infoCallback?: Function

    Callback to execute when info is emitted from the player.

    An object containing the native values for the info callback.

    ios?: { [k: string]: any }
    maxDuration?: number

    The max duration of the audio recording.

    metering?: boolean

    Set true to enable audio metering.

    sampleRate?: any
    sessionCategory?: string

    iOS: The category for playing recorded music or other sounds that are central to the successful use of your app. https://developer.apple.com/documentation/avfaudio/avaudiosessioncategory?language=objc

    sessionCategoryOptions?: number

    iOS: The set of options associated with the current audio session category. https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions-swift.property?language=objc

    sessionMode?: string
    sessionRouteSharingPolicy?: AVAudioSessionRouteSharingPolicy

    iOS: Cases that indicate the possible route-sharing policies for an audio session. https://developer.apple.com/documentation/avfaudio/avaudiosessionroutesharingpolicy