public final class SipService
extends ISipService.Stub
Modifier and Type | Method and Description |
---|---|
void |
close(String localProfileUri,
String opPackageName) |
ISipSession |
createSession(SipProfile localProfile,
ISipSessionListener listener,
String opPackageName) |
SipProfile[] |
getListOfProfiles(String opPackageName) |
ISipSession |
getPendingSession(String callId,
String opPackageName) |
boolean |
isOpened(String localProfileUri,
String opPackageName) |
boolean |
isRegistered(String localProfileUri,
String opPackageName) |
static String |
obfuscateSipUri(String sipUri) |
void |
open(SipProfile localProfile,
String opPackageName) |
void |
open3(SipProfile localProfile,
PendingIntent incomingCallPendingIntent,
ISipSessionListener listener,
String opPackageName) |
void |
setRegistrationListener(String localProfileUri,
ISipSessionListener listener,
String opPackageName) |
static void |
start(Context context)
Starts the SIP service.
|
public static void start(Context context)
public SipProfile[] getListOfProfiles(String opPackageName)
public void open(SipProfile localProfile, String opPackageName)
public void open3(SipProfile localProfile, PendingIntent incomingCallPendingIntent, ISipSessionListener listener, String opPackageName)
public void setRegistrationListener(String localProfileUri, ISipSessionListener listener, String opPackageName)
public ISipSession createSession(SipProfile localProfile, ISipSessionListener listener, String opPackageName)