[−]Struct jni_android_sys::android::media::audiofx::Equalizer
public class Equalizer
Required feature: "android-media-audiofx-Equalizer"
Methods
impl Equalizer
pub fn new<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Local<'env, Equalizer>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Local<'env, Equalizer>, Local<'env, Throwable>>
pub fn getNumberOfBands<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>
[src]
pub fn getBandLevelRange<'env>(
&'env self
) -> Result<Option<Local<'env, ShortArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ShortArray>>, Local<'env, Throwable>>
pub fn setBandLevel<'env>(
&'env self,
arg0: i16,
arg1: i16
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i16,
arg1: i16
) -> Result<(), Local<'env, Throwable>>
pub fn getBandLevel<'env>(
&'env self,
arg0: i16
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<i16, Local<'env, Throwable>>
pub fn getCenterFreq<'env>(
&'env self,
arg0: i16
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<i32, Local<'env, Throwable>>
pub fn getBandFreqRange<'env>(
&'env self,
arg0: i16
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
pub fn getBand<'env>(
&'env self,
arg0: i32
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i16, Local<'env, Throwable>>
pub fn getCurrentPreset<'env>(&'env self) -> Result<i16, Local<'env, Throwable>>
[src]
pub fn usePreset<'env>(
&'env self,
arg0: i16
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<(), Local<'env, Throwable>>
pub fn getNumberOfPresets<'env>(
&'env self
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i16, Local<'env, Throwable>>
pub fn getPresetName<'env>(
&'env self,
arg0: i16
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i16
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setParameterListener<'env>(
&'env self,
arg0: impl Into<Option<&'env Equalizer_OnParameterChangeListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Equalizer_OnParameterChangeListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-audiofx-Equalizer_OnParameterChangeListener"
pub fn getProperties<'env>(
&'env self
) -> Result<Option<Local<'env, Equalizer_Settings>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Equalizer_Settings>>, Local<'env, Throwable>>
Required features: "android-media-audiofx-Equalizer_Settings"
pub fn setProperties<'env>(
&'env self,
arg0: impl Into<Option<&'env Equalizer_Settings>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Equalizer_Settings>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-media-audiofx-Equalizer_Settings"
pub const PARAM_BAND_FREQ_RANGE: i32
[src]
public static final PARAM_BAND_FREQ_RANGE
pub const PARAM_BAND_LEVEL: i32
[src]
public static final PARAM_BAND_LEVEL
pub const PARAM_CENTER_FREQ: i32
[src]
public static final PARAM_CENTER_FREQ
pub const PARAM_CURRENT_PRESET: i32
[src]
public static final PARAM_CURRENT_PRESET
pub const PARAM_GET_BAND: i32
[src]
public static final PARAM_GET_BAND
pub const PARAM_GET_NUM_OF_PRESETS: i32
[src]
public static final PARAM_GET_NUM_OF_PRESETS
pub const PARAM_GET_PRESET_NAME: i32
[src]
public static final PARAM_GET_PRESET_NAME
pub const PARAM_LEVEL_RANGE: i32
[src]
public static final PARAM_LEVEL_RANGE
pub const PARAM_NUM_BANDS: i32
[src]
public static final PARAM_NUM_BANDS
pub const PARAM_STRING_SIZE_MAX: i32
[src]
public static final PARAM_STRING_SIZE_MAX
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]
&'env self
) -> Result<Option<Local<'env, AudioEffect_Descriptor>>, Local<'env, Throwable>>
Required features: "android-media-audiofx-AudioEffect_Descriptor"
pub fn setEnabled<'env>(
&'env self,
arg0: bool
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env AudioEffect_OnEnableStatusChangeListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env AudioEffect_OnControlStatusChangeListener>>
) -> Result<(), Local<'env, Throwable>>
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 Equalizer
impl AsValidJObjectAndEnv for Equalizer
impl Deref for Equalizer
impl JniType for Equalizer
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Equalizer
impl !Send for Equalizer
impl !Sync for Equalizer
impl Unpin for Equalizer
impl UnwindSafe for Equalizer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,