[]Struct jni_android_sys::android::net::wifi::p2p::nsd::WifiP2pUpnpServiceInfo

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

public class WifiP2pUpnpServiceInfo

Required feature: "android-net-wifi-p2p-nsd-WifiP2pUpnpServiceInfo"

Methods

impl WifiP2pUpnpServiceInfo

pub fn newInstance<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env List>>
) -> Result<Option<Local<'env, WifiP2pUpnpServiceInfo>>, Local<'env, Throwable>>
[src]

newInstance

Required features: "android-net-wifi-p2p-nsd-WifiP2pUpnpServiceInfo", "java-lang-String", "java-util-List"

Methods from Deref<Target = WifiP2pServiceInfo>

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

equals

Required features: "java-lang-Object"

pub fn hashCode<'env>(&'env self) -> Result<i32, 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]

writeToParcel

Required features: "android-os-Parcel"

pub const SERVICE_TYPE_ALL: i32[src]

pub const SERVICE_TYPE_BONJOUR: i32[src]

pub const SERVICE_TYPE_UPNP: i32[src]

pub const SERVICE_TYPE_VENDOR_SPECIFIC: i32[src]

Trait Implementations

impl AsJValue for WifiP2pUpnpServiceInfo

impl AsValidJObjectAndEnv for WifiP2pUpnpServiceInfo

impl Deref for WifiP2pUpnpServiceInfo

type Target = WifiP2pServiceInfo

The resulting type after dereferencing.

impl JniType for WifiP2pUpnpServiceInfo

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.