SipSession.Listener 类

定义

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

[Android.Runtime.Register("android/net/sip/SipSession$Listener", DoNotGenerateAcw=true)]
public class SipSession.Listener : Java.Lang.Object
[<Android.Runtime.Register("android/net/sip/SipSession$Listener", DoNotGenerateAcw=true)>]
type SipSession.Listener = class
    inherit Object
继承
SipSession.Listener
属性

注解

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

其中许多事件也由 SipAudioCall.Listener接收。

android.net.sip.SipSession.ListenerJava 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

构造函数

SipSession.Listener()
SipSession.Listener(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

属性

Class

返回此 Object的运行时类。

(继承自 Object)
Handle

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
JniPeerMembers

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

PeerReference

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
ThresholdClass

此 API 支持 Mono for Android 基础结构,不应直接从代码中使用。

ThresholdType

此 API 支持 Mono for Android 基础结构,不应直接从代码中使用。

方法

Clone()

创建并返回此对象的副本。

(继承自 Object)
Dispose()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
Dispose(Boolean)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
Equals(Object)

指示某个其他对象是否“等于”此对象。

(继承自 Object)
GetHashCode()

返回对象的哈希代码值。

(继承自 Object)
JavaFinalize()

当垃圾回收确定不再引用对象时,由垃圾回收器对对象调用。

(继承自 Object)
Notify()

唤醒正在等待此对象的监视器的单个线程。

(继承自 Object)
NotifyAll()

唤醒正在等待此对象的监视器的所有线程。

(继承自 Object)
OnCallBusy(SipSession)

在会话初始化期间对等方繁忙时调用。

OnCallChangeFailed(SipSession, SipErrorCodes, String)

在会话修改协商期间发生错误时调用。

OnCallEnded(SipSession)

终止会话时调用。

OnCallEstablished(SipSession, String)

在建立会话时调用。

OnCalling(SipSession)

在发送 INVITE 请求以发起新调用时调用。

OnError(SipSession, SipErrorCodes, String)

在会话初始化和终止期间发生错误时调用。

OnRegistering(SipSession)

发送注册请求时调用。

OnRegistrationDone(SipSession, Int32)

注册成功完成时调用。

OnRegistrationFailed(SipSession, SipErrorCodes, String)

注册失败时调用。

OnRegistrationTimeout(SipSession)

注册超时时调用。

OnRinging(SipSession, SipProfile, String)

收到 INVITE 请求时调用。

OnRingingBack(SipSession)

在收到对发送的 INVITE 请求的 RINGING 响应时调用

SetHandle(IntPtr, JniHandleOwnership)

设置 Handle 属性。

(继承自 Object)
ToArray<T>()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
ToString()

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
Wait()

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.Finalized()

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.JniManagedPeerState

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

GetJniTypeName(IJavaPeerable)

与 SIP 会话相关的事件的侦听器,例如当会话注册 (“on registering”) 或呼叫传出 (“on calling”) 。

适用于