[−]Struct jni_android_sys::android::net::sip::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Option<Local<'env, SipManager>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn open_SipProfile<'env>(
&'env self,
arg0: impl Into<Option<&'env SipProfile>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SipProfile>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env SipProfile>>,
arg1: impl Into<Option<&'env PendingIntent>>,
arg2: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isOpened<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isRegistered<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env SipAudioCall_Listener>>
) -> Result<Option<Local<'env, SipAudioCall>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env SipProfile>>,
arg1: i32,
arg2: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env SipProfile>>,
arg1: impl Into<Option<&'env SipRegistrationListener>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, SipSession>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env SipProfile>>,
arg1: impl Into<Option<&'env SipSession_Listener>>
) -> Result<Option<Local<'env, SipSession>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for SipManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SipManager
impl !Send for SipManager
impl !Sync for SipManager
impl Unpin for SipManager
impl UnwindSafe for SipManager
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>,