[]Struct jni_android_sys::android::net::sip::SipManager

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

public class SipManager

Required feature: "android-net-sip-SipManager"

Methods

impl SipManager

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

newInstance

Required features: "android-content-Context", "android-net-sip-SipManager"

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

isApiSupported

Required features: "android-content-Context"

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

isVoipSupported

Required features: "android-content-Context"

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

isSipWifiOnly

Required features: "android-content-Context"

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

open

Required features: "android-net-sip-SipProfile"

pub fn open_SipProfile_PendingIntent_SipRegistrationListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SipProfile>>,
    arg1: impl Into<Option<&'env PendingIntent>>,
    arg2: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

open

Required features: "android-app-PendingIntent", "android-net-sip-SipProfile", "android-net-sip-SipRegistrationListener"

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

setRegistrationListener

Required features: "android-net-sip-SipRegistrationListener", "java-lang-String"

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

close

Required features: "java-lang-String"

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

isOpened

Required features: "java-lang-String"

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

isRegistered

Required features: "java-lang-String"

pub fn makeAudioCall_SipProfile_SipProfile_Listener_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SipProfile>>,
    arg1: impl Into<Option<&'env SipProfile>>,
    arg2: impl Into<Option<&'env SipAudioCall_Listener>>,
    arg3: i32
) -> Result<Option<Local<'env, SipAudioCall>>, Local<'env, Throwable>>
[src]

makeAudioCall

Required features: "android-net-sip-SipAudioCall", "android-net-sip-SipAudioCall_Listener", "android-net-sip-SipProfile"

pub fn makeAudioCall_String_String_Listener_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env SipAudioCall_Listener>>,
    arg3: i32
) -> Result<Option<Local<'env, SipAudioCall>>, Local<'env, Throwable>>
[src]

makeAudioCall

Required features: "android-net-sip-SipAudioCall", "android-net-sip-SipAudioCall_Listener", "java-lang-String"

pub fn takeAudioCall<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Intent>>,
    arg1: impl Into<Option<&'env SipAudioCall_Listener>>
) -> Result<Option<Local<'env, SipAudioCall>>, Local<'env, Throwable>>
[src]

takeAudioCall

Required features: "android-content-Intent", "android-net-sip-SipAudioCall", "android-net-sip-SipAudioCall_Listener"

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

isIncomingCallIntent

Required features: "android-content-Intent"

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

getCallId

Required features: "android-content-Intent", "java-lang-String"

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

getOfferSessionDescription

Required features: "android-content-Intent", "java-lang-String"

pub fn register<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SipProfile>>,
    arg1: i32,
    arg2: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

register

Required features: "android-net-sip-SipProfile", "android-net-sip-SipRegistrationListener"

pub fn unregister<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SipProfile>>,
    arg1: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

unregister

Required features: "android-net-sip-SipProfile", "android-net-sip-SipRegistrationListener"

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

getSessionFor

Required features: "android-content-Intent", "android-net-sip-SipSession"

pub fn createSipSession<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SipProfile>>,
    arg1: impl Into<Option<&'env SipSession_Listener>>
) -> Result<Option<Local<'env, SipSession>>, Local<'env, Throwable>>
[src]

createSipSession

Required features: "android-net-sip-SipProfile", "android-net-sip-SipSession", "android-net-sip-SipSession_Listener"

pub const EXTRA_CALL_ID: &'static str[src]

public static final EXTRA_CALL_ID

pub const EXTRA_OFFER_SD: &'static str[src]

public static final EXTRA_OFFER_SD

pub const INCOMING_CALL_RESULT_CODE: i32[src]

public static final INCOMING_CALL_RESULT_CODE

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 SipManager

impl AsValidJObjectAndEnv for SipManager

impl Deref for SipManager

type Target = Object

The resulting type after dereferencing.

impl JniType for SipManager

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.