[−]Struct jni_android_sys::android::app::admin::ConnectEvent
public final class ConnectEvent
Required feature: "android-app-admin-ConnectEvent"
Methods
impl ConnectEvent
pub fn getInetAddress<'env>(
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
Required features: "java-net-InetAddress"
pub fn getPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn writeToParcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
Methods from Deref<Target = NetworkEvent>
pub fn getPackageName<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getTimestamp<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn getId<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn writeToParcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
Trait Implementations
impl AsJValue for ConnectEvent
impl AsRef<Parcelable> for ConnectEvent
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for ConnectEvent
impl Deref for ConnectEvent
impl JniType for ConnectEvent
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ConnectEvent
impl !Send for ConnectEvent
impl !Sync for ConnectEvent
impl Unpin for ConnectEvent
impl UnwindSafe for ConnectEvent
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>,