[]Struct jni_android_sys::android::media::audiofx::EnvironmentalReverb

#[repr(transparent)]
pub struct EnvironmentalReverb(_);

public class EnvironmentalReverb

Required feature: "android-media-audiofx-EnvironmentalReverb"

Methods

impl EnvironmentalReverb

pub fn new<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32
) -> Result<Local<'env, EnvironmentalReverb>, Local<'env, Throwable>>
[src]

pub fn setRoomLevel<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getRoomLevel<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setRoomHFLevel<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getRoomHFLevel<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setDecayTime<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDecayTime<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setDecayHFRatio<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDecayHFRatio<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setReflectionsLevel<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReflectionsLevel<'env>(
    &'env self
) -> Result<i16, Local<'env, Throwable>>
[src]

pub fn setReflectionsDelay<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReflectionsDelay<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setReverbLevel<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReverbLevel<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setReverbDelay<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getReverbDelay<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setDiffusion<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDiffusion<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setDensity<'env>(
    &'env self,
    arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getDensity<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>[src]

pub fn setParameterListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env EnvironmentalReverb_OnParameterChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setParameterListener

Required features: "android-media-audiofx-EnvironmentalReverb_OnParameterChangeListener"

pub fn getProperties<'env>(
    &'env self
) -> Result<Option<Local<'env, EnvironmentalReverb_Settings>>, Local<'env, Throwable>>
[src]

getProperties

Required features: "android-media-audiofx-EnvironmentalReverb_Settings"

pub fn setProperties<'env>(
    &'env self,
    arg0: impl Into<Option<&'env EnvironmentalReverb_Settings>>
) -> Result<(), Local<'env, Throwable>>
[src]

setProperties

Required features: "android-media-audiofx-EnvironmentalReverb_Settings"

pub const PARAM_DECAY_HF_RATIO: i32[src]

public static final PARAM_DECAY_HF_RATIO

pub const PARAM_DECAY_TIME: i32[src]

public static final PARAM_DECAY_TIME

pub const PARAM_DENSITY: i32[src]

public static final PARAM_DENSITY

pub const PARAM_DIFFUSION: i32[src]

public static final PARAM_DIFFUSION

pub const PARAM_REFLECTIONS_DELAY: i32[src]

public static final PARAM_REFLECTIONS_DELAY

pub const PARAM_REFLECTIONS_LEVEL: i32[src]

public static final PARAM_REFLECTIONS_LEVEL

pub const PARAM_REVERB_DELAY: i32[src]

public static final PARAM_REVERB_DELAY

pub const PARAM_REVERB_LEVEL: i32[src]

public static final PARAM_REVERB_LEVEL

pub const PARAM_ROOM_HF_LEVEL: i32[src]

public static final PARAM_ROOM_HF_LEVEL

pub const PARAM_ROOM_LEVEL: i32[src]

public static final PARAM_ROOM_LEVEL

Methods from Deref<Target = AudioEffect>

pub fn release<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn getDescriptor<'env>(
    &'env self
) -> Result<Option<Local<'env, AudioEffect_Descriptor>>, Local<'env, Throwable>>
[src]

getDescriptor

Required features: "android-media-audiofx-AudioEffect_Descriptor"

pub fn setEnabled<'env>(
    &'env self,
    arg0: bool
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn getId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getEnabled<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn hasControl<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setEnableStatusListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AudioEffect_OnEnableStatusChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEnableStatusListener

Required features: "android-media-audiofx-AudioEffect_OnEnableStatusChangeListener"

pub fn setControlStatusListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AudioEffect_OnControlStatusChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

setControlStatusListener

Required features: "android-media-audiofx-AudioEffect_OnControlStatusChangeListener"

pub const ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION: &'static str[src]

pub const ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL: &'static str[src]

pub const ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION: &'static str[src]

pub const ALREADY_EXISTS: i32[src]

pub const CONTENT_TYPE_GAME: i32[src]

pub const CONTENT_TYPE_MOVIE: i32[src]

pub const CONTENT_TYPE_MUSIC: i32[src]

pub const CONTENT_TYPE_VOICE: i32[src]

pub const EFFECT_AUXILIARY: &'static str[src]

pub const EFFECT_INSERT: &'static str[src]

pub const ERROR: i32[src]

pub const ERROR_BAD_VALUE: i32[src]

pub const ERROR_DEAD_OBJECT: i32[src]

pub const ERROR_INVALID_OPERATION: i32[src]

pub const ERROR_NO_INIT: i32[src]

pub const ERROR_NO_MEMORY: i32[src]

pub const EXTRA_AUDIO_SESSION: &'static str[src]

pub const EXTRA_CONTENT_TYPE: &'static str[src]

pub const EXTRA_PACKAGE_NAME: &'static str[src]

pub const SUCCESS: i32[src]

Trait Implementations

impl AsJValue for EnvironmentalReverb

impl AsValidJObjectAndEnv for EnvironmentalReverb

impl Deref for EnvironmentalReverb

type Target = AudioEffect

The resulting type after dereferencing.

impl JniType for EnvironmentalReverb

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.