[]Struct jni_android_sys::android::net::wifi::hotspot2::pps::Credential

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

public final class Credential

Required feature: "android-net-wifi-hotspot2-pps-Credential"

Methods

impl Credential

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

pub fn new_Credential<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Credential>>
) -> Result<Local<'env, Credential>, Local<'env, Throwable>>
[src]

Credential

Required features: "android-net-wifi-hotspot2-pps-Credential"

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

setRealm

Required features: "java-lang-String"

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

getRealm

Required features: "java-lang-String"

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

setUserCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_UserCredential"

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

getUserCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_UserCredential"

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

setCertCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_CertificateCredential"

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

getCertCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_CertificateCredential"

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

setSimCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_SimCredential"

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

getSimCredential

Required features: "android-net-wifi-hotspot2-pps-Credential_SimCredential"

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

setCaCertificate

Required features: "java-security-cert-X509Certificate"

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

getCaCertificate

Required features: "java-security-cert-X509Certificate"

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

setClientCertificateChain

Required features: "java-security-cert-X509Certificate"

pub fn getClientCertificateChain<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<X509Certificate, Throwable>>>, Local<'env, Throwable>>
[src]

getClientCertificateChain

Required features: "java-security-cert-X509Certificate"

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

setClientPrivateKey

Required features: "java-security-PrivateKey"

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

getClientPrivateKey

Required features: "java-security-PrivateKey"

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 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 toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

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 = Object>

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

getClass

Required features: "java-lang-Class"

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

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 toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

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

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

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

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

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

Trait Implementations

impl AsJValue for Credential

impl AsRef<Parcelable> for Credential

impl AsValidJObjectAndEnv for Credential

impl Deref for Credential

type Target = Object

The resulting type after dereferencing.

impl JniType for Credential

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.