[−]Struct jni_android_sys::android::media::midi::MidiInputPort
public final class MidiInputPort
Required feature: "android-media-midi-MidiInputPort"
Methods
impl MidiInputPort
pub fn getPortNumber<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn onSend<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
pub fn onFlush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Methods from Deref<Target = MidiReceiver>
pub fn onSend<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
pub fn flush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onFlush<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn getMaxMessageSize<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn send_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn send_byte_array_int_int_long<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32,
arg3: i64
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for MidiInputPort
impl AsRef<Closeable> for MidiInputPort
impl AsValidJObjectAndEnv for MidiInputPort
impl Deref for MidiInputPort
impl JniType for MidiInputPort
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for MidiInputPort
impl !Send for MidiInputPort
impl !Sync for MidiInputPort
impl Unpin for MidiInputPort
impl UnwindSafe for MidiInputPort
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>,