public interface Core
Factory.createCore(java.lang.String, java.lang.String, java.lang.Object)
orFactory.createCoreWithConfig(org.linphone.core.Config, java.lang.Object)
, see Config
for more informationCore
is in state GlobalState.Ready
, use start()
GlobalState.On
and from that you can startiterate()
isAutoIterateEnabled()
issetAutoIterateEnabled(boolean)
or by setting in the [misc] section ofstop()
and release the reference onModifier and Type | Interface and Description |
---|---|
static class |
Core.LogCollectionUploadState |
Modifier and Type | Method and Description |
---|---|
void |
activateAudioSession(boolean actived)
Special function to indicate if the audio session is activated.
|
boolean |
adaptiveRateControlEnabled()
Returns whether adaptive rate control is enabled.
|
int |
addAllToConference()
Add all current calls into the conference.
|
void |
addAuthInfo(AuthInfo info)
Adds authentication information to the
Core . |
void |
addContentTypeSupport(java.lang.String contentType)
Add support for the specified content type.
|
void |
addFriendList(FriendList list)
Add a friend list.
|
void |
addLinphoneSpec(java.lang.String spec)
Add the given linphone specs to the list of functionalities the linphone client
supports. |
void |
addListener(CoreListener listener) |
int |
addProxyConfig(ProxyConfig config)
Add a proxy configuration.
|
void |
addSupportedTag(java.lang.String tag)
This function controls signaling features supported by the core.
|
int |
addToConference(Call call)
Add a participant to the conference.
|
boolean |
audioAdaptiveJittcompEnabled()
Tells whether the audio adaptive jitter compensation is enabled.
|
boolean |
audioMulticastEnabled()
Use to get multicast state of audio stream.
|
void |
audioRouteChanged()
Deprecated.
07/01/2020 now handled in the linphone SDK directly
|
boolean |
callkitEnabled()
Special function to check if the callkit is enabled, False by default.
|
boolean |
chatEnabled()
Returns whether chat is enabled.
|
void |
checkForUpdate(java.lang.String currentVersion)
Checks if a new version of the application is available.
|
void |
clearAllAuthInfo()
Clear all authentication information.
|
void |
clearCallLogs()
Erase the call log.
|
void |
clearProxyConfig()
Erase all proxies from config.
|
java.lang.String |
compressLogCollection()
Compress the log collection in a single file.
|
boolean |
conferenceServerEnabled()
Tells whether the conference server feature is enabled.
|
void |
configureAudioSession()
Special function to configure audio session with default settings.
|
AccountCreator |
createAccountCreator(java.lang.String xmlrpcUrl)
Create a
AccountCreator and set Linphone Request callbacks. |
Address |
createAddress(java.lang.String address)
Create a
Address object by parsing the user supplied address, given asa string. |
CallLog |
createCallLog(Address from,
Address to,
Call.Dir dir,
int duration,
long startTime,
long connectedTime,
Call.Status status,
boolean videoEnabled,
float quality)
Creates a fake
CallLog . |
CallParams |
createCallParams(Call call)
Create a
CallParams suitable for inviteWithParams(java.lang.String, org.linphone.core.CallParams) ,linphone_core_accept_call_with_params, linphone_core_accept_early_media_with_params or linphone_core_accept_call_update. |
ChatRoom |
createChatRoom(Address participant)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
Address participant)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
Address[] participants)
Create a chat room.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
java.lang.String subject,
Address[] participants)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createChatRoom(ChatRoomParams params,
java.lang.String subject,
Address[] participants)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createChatRoom(java.lang.String subject,
Address[] participants)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback,
boolean encrypted)
Deprecated.
02/07/2020, use
createChatRoom(org.linphone.core.Address) instead |
ConferenceParams |
createConferenceParams()
Create some default conference parameters for instanciating a a conference with
createConferenceWithParams(org.linphone.core.ConferenceParams) . |
Conference |
createConferenceWithParams(ConferenceParams params)
Create a conference.
|
Config |
createConfig(java.lang.String filename)
Create a
Config object from a user config file. |
Content |
createContent()
Create a content with default values from Linphone core.
|
ChatRoomParams |
createDefaultChatRoomParams()
Creates and returns the default chat room parameters.
|
Friend |
createFriend()
Create a default LinphoneFriend.
|
FriendList |
createFriendList()
Create a new empty
FriendList object. |
Friend |
createFriendWithAddress(java.lang.String address)
Create a
Friend from the given address. |
InfoMessage |
createInfoMessage()
Creates an empty info message.
|
Player |
createLocalPlayer(java.lang.String soundCardName,
java.lang.String videoDisplayName,
java.lang.Object windowId)
Create an independent media file player.
|
MagicSearch |
createMagicSearch()
Create a
MagicSearch object. |
NatPolicy |
createNatPolicy()
Create a new
NatPolicy object with every policies being disabled. |
NatPolicy |
createNatPolicyFromConfig(java.lang.String ref)
|
Event |
createNotify(Address resource,
java.lang.String event)
Create an out-of-dialog notification, specifying the destination resource, the
event name. |
Event |
createOneShotPublish(Address resource,
java.lang.String event)
Create a publish context for a one-shot publish.
|
PresenceActivity |
createPresenceActivity(PresenceActivity.Type acttype,
java.lang.String description)
Create a
PresenceActivity with the given type and description. |
PresenceModel |
createPresenceModel()
Create a default LinphonePresenceModel.
|
PresenceModel |
createPresenceModelWithActivity(PresenceActivity.Type acttype,
java.lang.String description)
Create a
PresenceModel with the given activity type and activitydescription. |
PresenceModel |
createPresenceModelWithActivityAndNote(PresenceActivity.Type acttype,
java.lang.String description,
java.lang.String note,
java.lang.String lang)
Create a
PresenceModel with the given activity type, activitydescription, note content and note language. |
PresenceNote |
createPresenceNote(java.lang.String content,
java.lang.String lang)
Create a
PresenceNote with the given content and language. |
PresencePerson |
createPresencePerson(java.lang.String id)
Create a
PresencePerson with the given id. |
PresenceService |
createPresenceService(java.lang.String id,
PresenceBasicStatus basicStatus,
java.lang.String contact)
Create a
PresenceService with the given id, basic status and contact. |
Address |
createPrimaryContactParsed()
|
ProxyConfig |
createProxyConfig()
Create a proxy config with default values from Linphone core.
|
Event |
createPublish(Address resource,
java.lang.String event,
int expires)
Create a publish context for an event state.
|
Event |
createSubscribe(Address resource,
ProxyConfig proxy,
java.lang.String event,
int expires)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body. |
Event |
createSubscribe(Address resource,
java.lang.String event,
int expires)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body. |
XmlRpcSession |
createXmlRpcSession(java.lang.String url)
Create a
XmlRpcSession for a given url. |
void |
deleteChatRoom(ChatRoom chatRoom)
Removes a chatroom including all message history from the LinphoneCore.
|
void |
disableChat(Reason denyReason)
Inconditionnaly disable incoming chat messages.
|
boolean |
dnsSearchEnabled()
Tells whether DNS search (use of local domain if the fully qualified name did
return results) is enabled. |
boolean |
dnsSrvEnabled()
Tells whether DNS SRV resolution is enabled.
|
boolean |
echoCancellationEnabled()
Returns true if echo cancellation is enabled.
|
boolean |
echoLimiterEnabled()
Tells whether echo limiter is enabled.
|
void |
enableAdaptiveRateControl(boolean enabled)
Enable adaptive rate control.
|
void |
enableAudioAdaptiveJittcomp(boolean enable)
Enable or disable the audio adaptive jitter compensation.
|
void |
enableAudioMulticast(boolean yesno)
Use to enable multicast rtp for audio stream.
|
void |
enableCallkit(boolean enabled)
Special function to enable the callkit.
|
void |
enableChat()
Enable reception of incoming chat messages.
|
void |
enableConferenceServer(boolean enable)
Enable the conference server feature.
|
void |
enableDnsSearch(boolean enable)
Enable or disable DNS search (use of local domain if the fully qualified name
did return results). |
void |
enableDnsSrv(boolean enable)
Enable or disable DNS SRV resolution.
|
void |
enableEchoCancellation(boolean enable)
Enables or disable echo cancellation.
|
void |
enableEchoLimiter(boolean enable)
Enables or disable echo limiter.
|
void |
enableForcedIceRelay(boolean enable)
Artificially cause the relay path to be selected when ICE is used.
|
void |
enableFriendListSubscription(boolean enable)
Sets whether or not to start friend lists subscription when in foreground.
|
void |
enableIpv6(boolean enable)
Turns IPv6 support on or off.
|
void |
enableKeepAlive(boolean enable)
Enables signaling keep alive, small udp packet sent periodically to keep udp
NAT association. |
void |
enableLime(LimeState enable)
Deprecated.
04/02/2019 Use linphone_core_enable_lime_x3dh instead.
|
void |
enableLimeX3Dh(boolean enable)
Tells to LinphoneCore to use LIME X3DH.
|
void |
enableLogCollection(LogCollectionState state)
Enable the linphone core log collection to upload logs on a server.
|
void |
enableMic(boolean enable)
Enable or disable the microphone.
|
void |
enableQrcodeVideoPreview(boolean enable)
Controls QRCode enablement.
|
void |
enableRetransmissionOnNack(boolean enable)
Turns NACK context on or off.
|
void |
enableRtpBundle(boolean value)
Enables or disables RTP bundle mode (Media Multiplexing).
|
void |
enableSdp200Ack(boolean enable)
Control when media offer is sent in SIP INVITE.
|
void |
enableSelfView(boolean enable)
Enables or disable self view during calls.
|
void |
enableSenderNameHiddenInForwardMessage(boolean enable)
Enable whether or not to hide sender name in forward message.
|
void |
enableVideoAdaptiveJittcomp(boolean enable)
Enable or disable the video adaptive jitter compensation.
|
void |
enableVideoCapture(boolean enable)
Enable or disable video capture.
|
void |
enableVideoDisplay(boolean enable)
Enable or disable video display.
|
void |
enableVideoMulticast(boolean yesno)
Use to enable multicast rtp for video stream.
|
void |
enableVideoPreview(boolean enable)
Controls video preview enablement.
|
void |
enableVideoSourceReuse(boolean enable)
Enable or disable video source reuse when switching from preview to actual
video call. |
void |
enableWifiOnly(boolean enable)
Turns Wifi only mode on or off.
|
void |
ensureRegistered()
Call this method when you receive a push notification (if you handle push
notifications manually). |
void |
enterBackground()
This method is called by the application to notify the linphone core library
when it enters background mode. |
int |
enterConference()
Join the local participant to the running conference.
|
void |
enterForeground()
This method is called by the application to notify the linphone core library
when it enters foreground mode. |
boolean |
fileFormatSupported(java.lang.String fmt)
Returns whether a specific file format is supported.
|
AuthInfo |
findAuthInfo(java.lang.String realm,
java.lang.String username,
java.lang.String sipDomain)
Find authentication info matching realm, username, domain criteria.
|
Call |
findCallFromUri(java.lang.String uri)
Deprecated.
27/10/2020. Use
getCallByRemoteAddress2(org.linphone.core.Address) instead. |
CallLog |
findCallLogFromCallId(java.lang.String callId)
Get the call log matching the call id, or null if can't be found.
|
ChatRoom |
findChatRoom(Address peerAddr,
Address localAddr)
Deprecated.
|
Address[] |
findContactsByChar(java.lang.String filter,
boolean sipOnly)
Retrieves a list of
Address sort and filter. |
Friend |
findFriend(Address address)
Search a
Friend by its address. |
Friend |
findFriendByPhoneNumber(java.lang.String phoneNumber)
Search a
Friend by its phone number. |
Friend[] |
findFriends(Address address)
Search all
Friend matching an address. |
ChatRoom |
findOneToOneChatRoom(Address localAddr,
Address participantAddr)
Deprecated.
12/12/2018, use linphone_core_find_one_to_one_chat_room_2 instead
|
ChatRoom |
findOneToOneChatRoom(Address localAddr,
Address participantAddr,
boolean encrypted)
Deprecated.
|
boolean |
forcedIceRelayEnabled()
Indicates whether the ICE relay path is forcibly selected.
|
java.lang.String |
getAdaptiveRateAlgorithm()
Returns which adaptive rate algorithm is currently configured for future calls.
|
AudioDevice[] |
getAudioDevices()
Returns a list of audio devices, with only the first device for each type To
have the list of all audio devices, use getExtendedAudioDevices() |
int |
getAudioDscp()
Get the DSCP field for outgoing audio streams.
|
int |
getAudioJittcomp()
Returns the nominal audio jitter buffer size in milliseconds.
|
java.lang.String |
getAudioMulticastAddr()
Use to get multicast address to be used for audio stream.
|
int |
getAudioMulticastTtl()
Use to get multicast ttl to be used for audio stream.
|
PayloadType[] |
getAudioPayloadTypes()
Return the list of the available audio payload types.
|
int |
getAudioPort()
Gets the UDP port used for audio streaming.
|
Range |
getAudioPortsRange()
Get the audio port range from which is randomly chosen the UDP port used for
audio streaming. |
AuthInfo[] |
getAuthInfoList()
Returns an unmodifiable list of currently entered
AuthInfo . |
AVPFMode |
getAvpfMode()
Return AVPF enablement.
|
int |
getAvpfRrInterval()
Return the avpf report interval in seconds.
|
Call |
getCallByCallid(java.lang.String callId)
Get the call by callid.
|
Call |
getCallByRemoteAddress(java.lang.String remoteAddress)
Deprecated.
08/07/2020 use
getCallByRemoteAddress2(org.linphone.core.Address) instead |
Call |
getCallByRemoteAddress2(Address remoteAddress)
Get the call with the specified
Address . |
CallLog[] |
getCallHistory(Address peerAddress,
Address localAddress)
Get the list of call logs (past calls).
|
CallLog[] |
getCallHistoryForAddress(Address address)
Deprecated.
29/10/2018 Use
getCallHistory(org.linphone.core.Address, org.linphone.core.Address) instead. |
CallLog[] |
getCallLogs()
Get the list of call logs (past calls).
|
java.lang.String |
getCallLogsDatabasePath()
Gets the database filename where call logs will be stored.
|
Call[] |
getCalls()
Gets the current list of calls.
|
int |
getCallsNb()
Get the number of Call.
|
int |
getCameraSensorRotation()
Get the camera sensor rotation.
|
java.lang.String |
getCaptureDevice()
Gets the name of the currently assigned sound device for capture.
|
ChatRoom |
getChatRoom(Address addr)
Deprecated.
|
ChatRoom |
getChatRoom(Address peerAddr,
Address localAddr)
Deprecated.
|
ChatRoom |
getChatRoomFromUri(java.lang.String to)
Deprecated.
|
ChatRoom[] |
getChatRooms()
Returns a list of chat rooms.
|
Conference |
getConference()
Get a pointer on the internal conference object.
|
float |
getConferenceLocalInputVolume()
Get the set input volume of the local participant.
|
int |
getConferenceSize()
Get the number of participant in the running conference.
|
Config |
getConfig()
Returns the config object used to manage the storage (config) file.
|
ConsolidatedPresence |
getConsolidatedPresence()
Get my consolidated presence.
|
Call |
getCurrentCall()
Gets the current call.
|
Address |
getCurrentCallRemoteAddress()
Get the remote address of the current call.
|
VideoDefinition |
getCurrentPreviewVideoDefinition()
Get the effective video definition provided by the camera for the captured
video. |
FriendList |
getDefaultFriendList()
Retrieves the first list of
Friend from the core. |
AudioDevice |
getDefaultInputAudioDevice()
Gets the default input audio device.
|
AudioDevice |
getDefaultOutputAudioDevice()
Gets the default output audio device.
|
ProxyConfig |
getDefaultProxyConfig()
Returns the default proxy configuration, that is the one used to determine the
current identity. |
java.lang.String |
getDefaultVideoDisplayFilter()
Get the name of the default mediastreamer2 filter used for rendering video on
the current platform. |
int |
getDelayedTimeout()
Gets the delayed timeout See
setDelayedTimeout(int) for details. |
int |
getDeviceRotation()
Gets the current device orientation.
|
boolean |
getDisableRecordOnMute()
Get whether the microphone will be completely deactivated when muted.
|
boolean |
getDnsSetByApp()
Tells if the DNS was set by an application.
|
int |
getDownloadBandwidth()
Retrieve the maximum available download bandwidth.
|
int |
getDownloadPtime()
Get audio packetization time linphone expects to receive from peer.
|
java.lang.String |
getEchoCancellerFilterName()
Get the name of the mediastreamer2 filter used for echo cancelling.
|
AudioDevice[] |
getExtendedAudioDevices()
Returns the list of all audio devices.
|
java.lang.String |
getFileTransferServer()
Get the globaly set http file transfer server to be used for content type
application/vnd.gsma.rcs-ft-http+xml. |
Friend |
getFriendByRefKey(java.lang.String key)
Search a
Friend by its reference key. |
FriendList |
getFriendListByName(java.lang.String name)
Retrieves the list of
Friend from the core that has the given displayname. |
java.lang.String |
getFriendsDatabasePath()
Gets the database filename where friends will be stored.
|
FriendList[] |
getFriendsLists()
Retrieves the list of
FriendList from the core. |
GlobalState |
getGlobalState()
Returns the global state of core.
|
boolean |
getGuessHostname()
Returns true if hostname part of primary contact is guessed automatically.
|
java.lang.String |
getHttpProxyHost()
Get http proxy address to be used for signaling.
|
int |
getHttpProxyPort()
Get http proxy port to be used for signaling.
|
java.lang.String |
getIdentity()
Gets the default identity SIP address.
|
ImNotifPolicy |
getImNotifPolicy()
Get the
ImNotifPolicy object controlling the instant messagingnotifications. |
int |
getInCallTimeout()
Gets the in call timeout See
setInCallTimeout(int) for details. |
int |
getIncTimeout()
Returns the incoming call timeout See
setIncTimeout(int) for details. |
AudioDevice |
getInputAudioDevice()
Gets the input audio device for the current call.
|
CallLog |
getLastOutgoingCallLog()
Get the latest outgoing call log.
|
java.lang.String |
getLimeX3DhServerUrl()
Get the x3dh server url.
|
java.lang.String |
getLinphoneSpecs()
Deprecated.
07/02/2019 Use linphone_core_get_linphone_specs_list instead.
|
java.lang.String[] |
getLinphoneSpecsList()
Get the list of linphone specs string values representing what functionalities
the linphone client supports. |
int |
getLogCollectionMaxFileSize()
Get the max file size in bytes of the files used for log collection.
|
java.lang.String |
getLogCollectionPath()
Get the path where the log files will be written for log collection.
|
java.lang.String |
getLogCollectionPrefix()
Get the prefix of the filenames that will be used for log collection.
|
java.lang.String |
getLogCollectionUploadServerUrl()
Gets the url of the server where to upload the collected log files.
|
int |
getMaxCalls()
Get the maximum number of simultaneous calls Linphone core can manage at a
time. |
int |
getMaxSizeForAutoDownloadIncomingFiles()
Gets the size under which incoming files in chat messages will be downloaded
automatically. |
java.lang.String |
getMediaDevice()
Gets the name of the currently assigned sound device for media.
|
MediaEncryption |
getMediaEncryption()
Get the media encryption policy being used for RTP packets.
|
MediaResourceMode |
getMediaResourceMode()
This function returns the media resource mode for this core.
|
Factory |
getMediastreamerFactory()
Gets the mediastreamer's factory
|
float |
getMicGainDb()
Get microphone gain in db.
|
int |
getMissedCallsCount()
Get the number of missed calls.
|
int |
getMtu()
Returns the maximum transmission unit size in bytes.
|
java.lang.String |
getNatAddress()
Get the public IP address of NAT being used.
|
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
java.lang.Object |
getNativePreviewWindowId()
Get the native window handle of the video preview window.
|
java.lang.Object |
getNativeVideoWindowId()
Get the native window handle of the video window.
|
NatPolicy |
getNatPolicy()
Get The policy that is used to pass through NATs/firewalls.
|
int |
getNortpTimeout()
Gets the value of the no-rtp timeout.
|
AudioDevice |
getOutputAudioDevice()
Gets the output audio device for the current call.
|
PayloadType |
getPayloadType(java.lang.String type,
int rate,
int channels)
Get payload type from mime type and clock rate.
|
java.lang.String |
getPlaybackDevice()
Gets the name of the currently assigned sound device for playback.
|
float |
getPlaybackGainDb()
Get playback gain in db before entering sound card.
|
java.lang.String |
getPlayFile()
Get the wav file that is played when putting somebody on hold, or when files
are used instead of soundcards (see setUseFiles(boolean) ). |
float |
getPreferredFramerate()
Returns the preferred video framerate, previously set by
setPreferredFramerate(float) . |
VideoDefinition |
getPreferredVideoDefinition()
Get the preferred video definition for the stream that is captured and sent to
the remote party. |
PresenceModel |
getPresenceModel()
Get my presence model.
|
VideoDefinition |
getPreviewVideoDefinition()
Get the definition of the captured video.
|
java.lang.String |
getPrimaryContact()
Returns the default identity when no proxy configuration is used.
|
Address |
getPrimaryContactParsed()
Deprecated.
22/10/2018 Use
createPrimaryContactParsed() instead. |
java.lang.String |
getProvisioningUri()
Get provisioning URI.
|
ProxyConfig |
getProxyConfigByIdkey(java.lang.String idkey)
Search for a
ProxyConfig by it's idkey. |
ProxyConfig[] |
getProxyConfigList()
Returns an unmodifiable list of entered proxy configurations.
|
int |
getPushIncomingCallTimeout()
Returns the push incoming call timeout See
setPushIncomingCallTimeout(int) for details. |
java.lang.String |
getRecordFile()
Get the wav file where incoming stream is recorded, when files are used instead
of soundcards (see setUseFiles(boolean) ). |
java.lang.String |
getRemoteRingbackTone()
Get the ring back tone played to far end during incoming calls.
|
java.lang.String |
getRing()
Returns the path to the wav file used for ringing.
|
java.lang.String |
getRingback()
Returns the path to the wav file used for ringing back.
|
boolean |
getRingDuringIncomingEarlyMedia()
Tells whether the ring play is enabled during an incoming early media call.
|
java.lang.String |
getRingerDevice()
Gets the name of the currently assigned sound device for ringing.
|
java.lang.String |
getRootCa()
Gets the path to a file or folder containing the trusted root CAs (PEM format)
|
boolean |
getSessionExpiresEnabled()
Check if the Session Timers feature is enabled.
|
int |
getSessionExpiresMinValue()
Returns the session expires min value, 90 by default.
|
SessionExpiresRefresher |
getSessionExpiresRefresherValue()
Returns the session expires refresher value.
|
int |
getSessionExpiresValue()
Returns the session expires value.
|
int |
getSipDscp()
Get the DSCP field for SIP signaling channel.
|
int |
getSipTransportTimeout()
Get the SIP transport timeout.
|
java.lang.String[] |
getSoundDevicesList()
Deprecated.
10/04/2021 Use
getAudioDevices() instead. |
java.lang.String |
getStaticPicture()
Get the path to the image file streamed when "Static picture" is set as the
video device. |
float |
getStaticPictureFps()
Get the frame rate for static picture.
|
java.lang.String |
getStunServer()
Get the STUN server address being used.
|
java.lang.String[] |
getSupportedFileFormatsList()
Returns a null terminated table of strings containing the file format extension
supported for call recording. |
PayloadType[] |
getTextPayloadTypes()
Return the list of the available text payload types.
|
int |
getTextPort()
Gets the UDP port used for text streaming.
|
Range |
getTextPortsRange()
Get the text port range from which is randomly chosen the UDP port used for
text streaming. |
java.lang.String |
getTlsCert()
Gets the TLS certificate.
|
java.lang.String |
getTlsCertPath()
Gets the path to the TLS certificate file.
|
java.lang.String |
getTlsKey()
Gets the TLS key.
|
java.lang.String |
getTlsKeyPath()
Gets the path to the TLS key file.
|
Transports |
getTransports()
Retrieves the port configuration used for each transport (udp, tcp, tls).
|
Transports |
getTransportsUsed()
Retrieves the real port number assigned for each sip transport (udp, tcp, tls).
|
Tunnel |
getTunnel()
get tunnel instance if available
|
int |
getUnreadChatMessageCount()
Return the global unread chat message count.
|
int |
getUnreadChatMessageCountFromActiveLocals()
Return the unread chat message count for all active local address.
|
int |
getUnreadChatMessageCountFromLocal(Address address)
Return the unread chat message count for a given local address.
|
int |
getUploadBandwidth()
Retrieve the maximum available upload bandwidth.
|
int |
getUploadPtime()
Set audio packetization time linphone will send (in absence of requirement from
peer) A value of 0 stands for the current codec default packetization time. |
java.lang.String |
getUpnpExternalIpaddress()
Return the external ip address of router.
|
UpnpState |
getUpnpState()
Return the internal state of uPnP.
|
boolean |
getUseFiles()
Gets whether linphone is currently streaming audio from and to files, rather
than using the soundcard. |
boolean |
getUseInfoForDtmf()
Indicates whether SIP INFO is used to send digits.
|
java.lang.String |
getUserAgent()
Gets the user-agent as a string.
|
java.lang.String |
getUserCertificatesPath()
Get the path to the directory storing the user's certificates.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
getUseRfc2833ForDtmf()
Indicates whether RFC2833 is used to send digits.
|
java.lang.String |
getVersion()
Returns liblinphone's version as a string.
|
VideoActivationPolicy |
getVideoActivationPolicy()
Get the default policy for video.
|
java.lang.String |
getVideoDevice()
Returns the name of the currently active video device.
|
java.lang.String[] |
getVideoDevicesList()
Gets the list of the available video capture devices.
|
java.lang.String |
getVideoDisplayFilter()
Get the name of the mediastreamer2 filter used for rendering video.
|
int |
getVideoDscp()
Get the DSCP field for outgoing video streams.
|
int |
getVideoJittcomp()
Returns the nominal video jitter buffer size in milliseconds.
|
java.lang.String |
getVideoMulticastAddr()
Use to get multicast address to be used for video stream.
|
int |
getVideoMulticastTtl()
Use to get multicast ttl to be used for video stream.
|
PayloadType[] |
getVideoPayloadTypes()
Return the list of the available video payload types.
|
int |
getVideoPort()
Gets the UDP port used for video streaming.
|
Range |
getVideoPortsRange()
Get the video port range from which is randomly chosen the UDP port used for
video streaming. |
java.lang.String |
getVideoPreset()
Get the video preset used for video calls.
|
java.lang.String |
getZrtpSecretsFile()
Get the path to the file storing the zrtp secrets cache.
|
ZrtpPeerStatus |
getZrtpStatus(java.lang.String addr)
Get the zrtp sas validation status for a peer uri.
|
boolean |
hasBuiltinEchoCanceller()
Check whether the device has a hardware echo canceller.
|
boolean |
hasCrappyOpengl()
Check whether the device is flagged has crappy opengl.
|
boolean |
inCall()
Tells whether there is a call running.
|
Address |
interpretUrl(java.lang.String url)
Constructs a
Address from the given string if possible. |
Call |
invite(java.lang.String url)
Initiates an outgoing call.
|
Call |
inviteAddress(Address addr)
Initiates an outgoing call given a destination
Address The Address can be constructed directly using linphone_address_new, or created by interpretUrl(java.lang.String) . |
Call |
inviteAddressWithParams(Address addr,
CallParams params)
Initiates an outgoing call given a destination
Address The Address can be constructed directly using linphone_address_new, or created by interpretUrl(java.lang.String) . |
Call |
inviteWithParams(java.lang.String url,
CallParams params)
Initiates an outgoing call according to supplied call parameters The
application doesn't own a reference to the returned Call object. |
boolean |
ipv6Enabled()
Tells whether IPv6 is enabled or not.
|
boolean |
isAutoIterateEnabled()
Gets whether auto iterate is enabled or not (Android & iOS only).
|
boolean |
isContentTypeSupported(java.lang.String contentType)
Tells whether a content type is supported.
|
boolean |
isEchoCancellerCalibrationRequired()
Check whether the device is echo canceller calibration is required.
|
boolean |
isFriendListSubscriptionEnabled()
Returns whether or not friend lists subscription are enabled.
|
boolean |
isInBackground()
Gets whether the Core is considering itself in background or not.
|
boolean |
isIncomingInvitePending()
Tells whether there is an incoming invite pending.
|
boolean |
isInConference()
Indicates whether the local participant is part of a conference.
|
boolean |
isMediaEncryptionMandatory()
Check if the configured media encryption is mandatory or not.
|
boolean |
isMediaFilterSupported(java.lang.String filtername)
Checks if the given media filter is loaded and usable.
|
boolean |
isNativeRingingEnabled()
Returns whether the native ringing is enabled or not.
|
boolean |
isNetworkReachable()
return network state either as positioned by the application or by linphone
itself. |
boolean |
isPushNotificationAvailable()
Gets whether push notifications are available or not (Android & iOS only).
|
boolean |
isPushNotificationEnabled()
Gets whether push notifications are enabled or not (Android & iOS only).
|
boolean |
isSenderNameHiddenInForwardMessage()
Returns whether or not sender name is hidden in forward message.
|
boolean |
isVibrationOnIncomingCallEnabled()
Gets whether the device will vibrate while an incoming call is ringing (Android
only). |
void |
iterate()
Main loop function.
|
boolean |
keepAliveEnabled()
Is signaling keep alive enabled.
|
int |
leaveConference()
Make the local participant leave the running conference.
|
boolean |
limeAvailable()
Deprecated.
04/02/2019 Use linphone_core_lime_x3dh_available instead.
|
LimeState |
limeEnabled()
Deprecated.
04/02/2019 Use linphone_core_lime_x3dh_enabled instead.
|
boolean |
limeX3DhAvailable()
Tells if LIME X3DH is available.
|
boolean |
limeX3DhEnabled()
Tells wether LIME X3DH is enabled or not.
|
void |
loadConfigFromXml(java.lang.String xmlUri)
Update current config with the content of a xml config file.
|
LogCollectionState |
logCollectionEnabled()
Tells whether the linphone core log collection is enabled.
|
boolean |
mediaEncryptionSupported(MediaEncryption menc)
Check if a media encryption type is supported.
|
boolean |
micEnabled()
Tells whether the microphone is enabled.
|
void |
migrateLogsFromRcToDb()
Migrates the call logs from the linphonerc to the database if not done yet.
|
int |
migrateToMultiTransport()
Migrate configuration so that all SIP transports are enabled.
|
void |
notifyAllFriends(PresenceModel presence)
Notify all friends that have subscribed.
|
void |
notifyNotifyPresenceReceived(Friend linphoneFriend)
Notifies the upper layer that a presence status has been received by calling
the appropriate callback if one has been set. |
void |
notifyNotifyPresenceReceivedForUriOrTel(Friend linphoneFriend,
java.lang.String uriOrTel,
PresenceModel presenceModel)
Notifies the upper layer that a presence model change has been received for the
uri or telephone number given as a parameter, by calling the appropriate callback if one has been set. |
int |
pauseAllCalls()
Pause all currently running calls.
|
void |
playDtmf(char dtmf,
int durationMs)
Plays a dtmf sound to the local user.
|
int |
playLocal(java.lang.String audiofile)
Plays an audio file to the local user.
|
int |
preemptSoundResources()
Empties sound resources to allow a new call to be accepted.
|
void |
previewOglRender()
Call generic OpenGL render for a given core.
|
Event |
publish(Address resource,
java.lang.String event,
int expires,
Content body)
Publish an event state.
|
boolean |
qrcodeVideoPreviewEnabled()
Tells whether QRCode is enabled in the preview.
|
boolean |
realtimeTextEnabled()
Gets if realtime text is enabled or not.
|
int |
realtimeTextGetKeepaliveInterval()
Gets keep alive interval of real time text.
|
void |
realtimeTextSetKeepaliveInterval(int interval)
Set keep alive interval for real time text.
|
void |
refreshRegisters()
force registration refresh to be initiated upon next iterate
|
void |
rejectSubscriber(Friend linphoneFriend)
Black list a friend.
|
void |
reloadMsPlugins(java.lang.String path)
Reload mediastreamer2 plugins from specified directory.
|
void |
reloadSoundDevices()
Update detection of sound devices.
|
void |
reloadVideoDevices()
Update detection of camera devices.
|
void |
removeAuthInfo(AuthInfo info)
Removes an authentication information object.
|
void |
removeCallLog(CallLog callLog)
Remove a specific call log from call history list.
|
void |
removeContentTypeSupport(java.lang.String contentType)
Remove support for the specified content type.
|
void |
removeFriendList(FriendList list)
Removes a friend list.
|
int |
removeFromConference(Call call)
Remove a call from the conference.
|
void |
removeLinphoneSpec(java.lang.String spec)
Remove the given linphone specs from the list of functionalities the linphone
client supports. |
void |
removeListener(CoreListener listener) |
void |
removeProxyConfig(ProxyConfig config)
Removes a proxy configuration.
|
void |
removeSupportedTag(java.lang.String tag)
Remove a supported tag.
|
void |
resetLogCollection()
Reset the log collection by removing the log files.
|
void |
resetMissedCallsCount()
Reset the counter of missed calls.
|
boolean |
retransmissionOnNackEnabled()
Tells whether NACK context is enabled or not.
|
boolean |
rtpBundleEnabled()
Returns whether RTP bundle mode (also known as Media Multiplexing) is enabled.
|
boolean |
sdp200AckEnabled()
Media offer control param for SIP INVITE.
|
ChatRoom |
searchChatRoom(ChatRoomParams params,
Address localAddr,
Address remoteAddr,
Address[] participants)
Find a chat room.
|
boolean |
selfViewEnabled()
Tells whether video self view during call is enabled or not.
|
void |
serializeLogs()
Enable logs serialization (output logs from either the thread that creates the
linphone core or the thread that calls iterate() ). |
void |
setAdaptiveRateAlgorithm(java.lang.String algorithm)
Sets adaptive rate algorithm.
|
void |
setAudioDscp(int dscp)
Set the DSCP field for outgoing audio streams.
|
void |
setAudioJittcomp(int milliseconds)
Sets the nominal audio jitter buffer size in milliseconds.
|
int |
setAudioMulticastAddr(java.lang.String ip)
Use to set multicast address to be used for audio stream.
|
int |
setAudioMulticastTtl(int ttl)
Use to set multicast ttl to be used for audio stream.
|
void |
setAudioPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available payload types.
|
void |
setAudioPort(int port)
Sets the UDP port used for audio streaming.
|
void |
setAudioPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for audio
streaming. |
void |
setAutoIterateEnabled(boolean enable)
Enable or disable the automatic schedule of
iterate() method on Android& iOS. |
void |
setAvpfMode(AVPFMode mode)
Enable RTCP feedback (also known as RTP/AVPF profile).
|
void |
setAvpfRrInterval(int interval)
Set the avpf report interval in seconds.
|
void |
setCallErrorTone(Reason reason,
java.lang.String audiofile)
Assign an audio file to be played locally upon call failure, for a given
reason. |
void |
setCallLogsDatabasePath(java.lang.String path)
Sets the database filename where call logs will be stored.
|
int |
setCaptureDevice(java.lang.String devid)
Sets the sound device used for capture.
|
void |
setConsolidatedPresence(ConsolidatedPresence presence)
Set my consolidated presence.
|
void |
setDefaultInputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as default input for next calls. |
void |
setDefaultOutputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as default output for next calls. |
void |
setDefaultProxyConfig(ProxyConfig config)
Sets the default proxy.
|
void |
setDelayedTimeout(int seconds)
Set the in delayed timeout in seconds.
|
void |
setDeviceRotation(int rotation)
Tells the core the device current orientation.
|
void |
setDisableRecordOnMute(boolean disable)
Calling this method with disable=true will cause the microhone to be completely
deactivated when muted, when given possible by the implementation on the platform on which liblinphone is running. |
void |
setDnsServers(java.lang.String[] servers)
Forces liblinphone to use the supplied list of dns servers, instead of system's
ones. |
void |
setDnsServersApp(java.lang.String[] servers)
Forces liblinphone to use the supplied list of dns servers, instead of system's
ones and set dns_set_by_app at true or false according to value of servers list. |
void |
setDownloadBandwidth(int bandwidth)
Sets maximum available download bandwidth This is IP bandwidth, in kbit/s.
|
void |
setDownloadPtime(int ptime)
Set audio packetization time linphone expects to receive from peer.
|
void |
setEchoCancellerFilterName(java.lang.String filtername)
Set the name of the mediastreamer2 filter to be used for echo cancelling.
|
void |
setEnableSipUpdate(int value)
Enable or disable the UPDATE method support.
|
void |
setExpectedBandwidth(int bandwidth)
Sets expected available upload bandwidth This is IP bandwidth, in kbit/s.
|
void |
setFileTransferServer(java.lang.String serverUrl)
Globaly set an http file transfer server to be used for content type
application/vnd.gsma.rcs-ft-http+xml. |
void |
setFriendsDatabasePath(java.lang.String path)
Sets the database filename where friends will be stored.
|
void |
setGuessHostname(boolean enable)
Tells
Core to guess local hostname automatically in primary contact. |
void |
setHttpProxyHost(java.lang.String host)
Set http proxy address to be used for signaling during next channel connection.
|
void |
setHttpProxyPort(int port)
Set http proxy port to be used for signaling.
|
void |
setInCallTimeout(int seconds)
Set the in call timeout in seconds.
|
void |
setIncTimeout(int seconds)
Set the incoming call timeout in seconds.
|
void |
setInputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as input for all active calls. |
void |
setLimeX3DhServerUrl(java.lang.String url)
Set the x3dh server url.
|
void |
setLinphoneSpecs(java.lang.String specs)
Deprecated.
07/02/2019 Use linphone_core_set_linphone_specs_list or
linphone_core_add_linphone_spec instead. |
void |
setLinphoneSpecsList(java.lang.String[] specs)
Set the linphone specs list value telling what functionalities the linphone
client supports. |
void |
setLogCollectionMaxFileSize(int size)
Set the max file size in bytes of the files used for log collection.
|
void |
setLogCollectionPath(java.lang.String path)
Set the path of a directory where the log files will be written for log
collection. |
void |
setLogCollectionPrefix(java.lang.String prefix)
Set the prefix of the filenames that will be used for log collection.
|
void |
setLogCollectionUploadServerUrl(java.lang.String serverUrl)
Set the url of the server where to upload the collected log files.
|
void |
setMaxCalls(int max)
Set the maximum number of simultaneous calls Linphone core can manage at a
time. |
void |
setMaxSizeForAutoDownloadIncomingFiles(int size)
Sets the size under which incoming files in chat messages will be downloaded
automatically. |
int |
setMediaDevice(java.lang.String devid)
Sets the sound device used for media.
|
int |
setMediaEncryption(MediaEncryption menc)
Choose the media encryption policy to be used for RTP packets.
|
void |
setMediaEncryptionMandatory(boolean mandatory)
Define whether the configured media encryption is mandatory, if it is and the
negotation cannot result in the desired media encryption then the call will fail. |
void |
setMediaNetworkReachable(boolean reachable)
This method is called by the application to notify the linphone core library
when the media (RTP) network is reachable. |
void |
setMediaResourceMode(MediaResourceMode mode)
Sets the media resources mode.
|
void |
setMicGainDb(float level)
Allow to control microphone level: gain in db.
|
void |
setMtu(int mtu)
Sets the maximum transmission unit size in bytes.
|
void |
setNatAddress(java.lang.String addr)
Set the public IP address of NAT when using the firewall policy is set to use
NAT. |
void |
setNativePreviewWindowId(java.lang.Object windowId)
Set the native window id where the preview video (local camera) is to be
displayed. |
void |
setNativeRingingEnabled(boolean enable)
Sets whether to use the native ringing (Android only).
|
void |
setNativeVideoWindowId(java.lang.Object windowId)
Set the native video window id where the video is to be displayed.
|
void |
setNatPolicy(NatPolicy policy)
Set the policy to use to pass through NATs/firewalls.
|
void |
setNetworkReachable(boolean reachable)
This method is called by the application to notify the linphone core library
when network is reachable. |
void |
setNortpTimeout(int seconds)
Sets the no-rtp timeout value in seconds.
|
void |
setOutputAudioDevice(AudioDevice audioDevice)
Sets the given
AudioDevice as output for all active calls. |
int |
setPlaybackDevice(java.lang.String devid)
Sets the sound device used for playback.
|
void |
setPlaybackGainDb(float level)
Allow to control play level before entering sound card: gain in db.
|
void |
setPlayFile(java.lang.String file)
Sets a wav file to be played when putting somebody on hold, or when files are
used instead of soundcards (see setUseFiles(boolean) ). |
void |
setPreferredFramerate(float fps)
Set the preferred frame rate for video.
|
void |
setPreferredVideoDefinition(VideoDefinition videoDefinition)
Set the preferred video definition for the stream that is captured and sent to
the remote party. |
void |
setPreferredVideoDefinitionByName(java.lang.String name)
Sets the preferred video definition by its name.
|
void |
setPresenceModel(PresenceModel presence)
Set my presence model.
|
void |
setPreviewVideoDefinition(VideoDefinition videoDefinition)
Set the video definition for the captured (preview) video.
|
int |
setPrimaryContact(java.lang.String contact)
Sets the local "from" identity.
|
int |
setProvisioningUri(java.lang.String uri)
Set URI where to download xml configuration file at startup.
|
void |
setPushIncomingCallTimeout(int seconds)
Configure the minimum interval between a push notification and the
corresponding incoming INVITE. |
void |
setPushNotificationEnabled(boolean enable)
Enable or disable push notifications on Android & iOS.
|
void |
setQrcodeDecodeRect(int x,
int y,
int w,
int h)
Set the rectangle where the decoder will search a QRCode.
|
void |
setRecordFile(java.lang.String file)
Sets a wav file where incoming stream is to be recorded, when files are used
instead of soundcards (see setUseFiles(boolean) ). |
void |
setRemoteRingbackTone(java.lang.String ring)
Specify a ring back tone to be played to far end during incoming calls.
|
void |
setRing(java.lang.String path)
Sets the path to a wav file used for ringing.
|
void |
setRingback(java.lang.String path)
Sets the path to a wav file used for ringing back.
|
void |
setRingDuringIncomingEarlyMedia(boolean enable)
Enable or disable the ring play during an incoming early media call.
|
int |
setRingerDevice(java.lang.String devid)
Sets the sound device used for ringing.
|
void |
setRootCa(java.lang.String path)
Sets the path to a file or folder containing trusted root CAs (PEM format)
|
void |
setRootCaData(java.lang.String data)
Sets the trusted root CAs (PEM format)
|
void |
setSessionExpiresEnabled(boolean enabled)
Enable the Session Timers support.
|
void |
setSessionExpiresMinValue(int min)
Sets the session expires minSE value, forced to a minimum of 90 by default.
|
void |
setSessionExpiresRefresherValue(SessionExpiresRefresher refresher)
Sets the session expires refresher value.
|
void |
setSessionExpiresValue(int expires)
Sets the session expires value, 0 by default.
|
void |
setSipDscp(int dscp)
Set the DSCP field for SIP signaling channel.
|
void |
setSipNetworkReachable(boolean reachable)
This method is called by the application to notify the linphone core library
when the SIP network is reachable. |
void |
setSipTransportTimeout(int timeoutMs)
Set the SIP transport timeout.
|
int |
setStaticPicture(java.lang.String path)
Set the path to the image file to stream when "Static picture" is set as the
video device. |
int |
setStaticPictureFps(float fps)
Set the frame rate for static picture.
|
void |
setStunServer(java.lang.String server)
Set the STUN server address to use when the firewall policy is set to STUN.
|
void |
setSupportedTag(java.lang.String tags)
Set the supported tags.
|
void |
setTextPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available payload types.
|
void |
setTextPort(int port)
Sets the UDP port used for text streaming.
|
void |
setTextPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for text
streaming. |
void |
setTlsCert(java.lang.String tlsCert)
Sets a TLS certificate used for TLS authentication The certificate won't be
stored, you have to set it after each Core startup. |
void |
setTlsCertPath(java.lang.String tlsCertPath)
Sets a TLS certificate path used for TLS authentication The path will be stored
in the rc file and automatically restored on startup. |
void |
setTlsKey(java.lang.String tlsKey)
Sets a TLS key used for TLS authentication The key won't be stored, you have to
set it after each Core startup. |
void |
setTlsKeyPath(java.lang.String tlsKeyPath)
Sets a TLS key path used for TLS authentication The path will be stored in the
rc file and automatically restored on startup. |
void |
setTone(ToneID toneId,
java.lang.String audiofile)
Assign an audio file to be played as a specific tone id.
|
int |
setTransports(Transports transports)
Sets the ports to be used for each of transport (UDP or TCP) A zero value port
for a given transport means the transport is not used. |
void |
setUploadBandwidth(int bandwidth)
Sets maximum available upload bandwidth This is IP bandwidth, in kbit/s.
|
void |
setUploadPtime(int ptime)
Set audio packetization time linphone will send (in absence of requirement from
peer) A value of 0 stands for the current codec default packetization time. |
void |
setUseFiles(boolean yesno)
Ask the core to stream audio from and to files, instead of using the soundcard.
|
void |
setUseInfoForDtmf(boolean useInfo)
Sets whether SIP INFO is to be used to send digits.
|
void |
setUserAgent(java.lang.String name,
java.lang.String version)
Set the user agent string used in SIP messages.
|
void |
setUserCertificatesPath(java.lang.String path)
Set the path to the directory storing the user's x509 certificates (used by
dtls) |
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
void |
setUseRfc2833ForDtmf(boolean useRfc2833)
Sets whether RFC2833 is to be used to send digits.
|
void |
setVibrationOnIncomingCallEnabled(boolean enable)
Enable vibration will incoming call is ringing (Android only).
|
void |
setVideoActivationPolicy(VideoActivationPolicy policy)
Sets the default policy for video.
|
int |
setVideoDevice(java.lang.String id)
Sets the active video device.
|
void |
setVideoDisplayFilter(java.lang.String filterName)
Set the name of the mediastreamer2 filter to be used for rendering video.
|
void |
setVideoDscp(int dscp)
Set the DSCP field for outgoing video streams.
|
void |
setVideoJittcomp(int milliseconds)
Sets the nominal video jitter buffer size in milliseconds.
|
int |
setVideoMulticastAddr(java.lang.String ip)
Use to set multicast address to be used for video stream.
|
int |
setVideoMulticastTtl(int ttl)
Use to set multicast ttl to be used for video stream.
|
void |
setVideoPayloadTypes(PayloadType[] payloadTypes)
Redefine the list of the available video payload types.
|
void |
setVideoPort(int port)
Sets the UDP port used for video streaming.
|
void |
setVideoPortRange(int minPort,
int maxPort)
Sets the UDP port range from which to randomly select the port used for video
streaming. |
void |
setVideoPreset(java.lang.String preset)
Set the video preset to be used for video calls.
|
void |
setZrtpSecretsFile(java.lang.String file)
Set the path to the file storing the zrtp secrets cache.
|
boolean |
soundDeviceCanCapture(java.lang.String device)
Deprecated.
08/07/2020 use
AudioDevice API instead() |
boolean |
soundDeviceCanPlayback(java.lang.String device)
Deprecated.
08/07/2020 use
AudioDevice API instead() |
boolean |
soundResourcesLocked()
Check if a call will need the sound resources in near future (typically an
outgoing call that is awaiting response). |
int |
start()
Start a
Core object after it has been instantiated and notautomatically started. |
int |
startConferenceRecording(java.lang.String path)
Start recording the running conference.
|
int |
startEchoCancellerCalibration()
Starts an echo calibration of the sound devices, in order to find adequate
settings for the echo canceler automatically. |
int |
startEchoTester(int rate)
Start the simulation of call to test the latency with an external device.
|
void |
stop()
Stop a
Core object after it has been instantiated and started. |
void |
stopAsync()
Stop asynchronously a
Core object after it has been instantiated andstarted. |
int |
stopConferenceRecording()
Stop recording the running conference.
|
void |
stopDtmf()
Stops playing a dtmf started by
playDtmf(char, int) . |
int |
stopEchoTester()
Stop the simulation of call.
|
void |
stopRinging()
Whenever the liblinphone is playing a ring to advertise an incoming call or
ringback of an outgoing call, this function stops the ringing. |
Event |
subscribe(Address resource,
java.lang.String event,
int expires,
Content body)
Create an outgoing subscription, specifying the destination resource, the event
name, and an optional content body. |
int |
takePreviewSnapshot(java.lang.String file)
Take a photo of currently from capture device and write it into a jpeg file.
|
int |
terminateAllCalls()
Terminates all the calls.
|
int |
terminateConference()
Terminate the running conference.
|
java.lang.String |
toString() |
boolean |
tunnelAvailable()
True if tunnel support was compiled.
|
void |
uploadLogCollection()
Upload the log collection to the configured server url.
|
boolean |
upnpAvailable()
Return the availability of uPnP.
|
void |
usePreviewWindow(boolean yesno)
Tells the core to use a separate window for local camera preview video, instead
of inserting local view within the remote video window. |
boolean |
vcardSupported()
Tells whether VCARD support is builtin.
|
void |
verifyServerCertificates(boolean yesno)
Specify whether the tls server certificate must be verified when connecting to
a SIP/TLS server. |
void |
verifyServerCn(boolean yesno)
Specify whether the tls server certificate common name must be verified when
connecting to a SIP/TLS server. |
boolean |
videoAdaptiveJittcompEnabled()
Tells whether the video adaptive jitter compensation is enabled.
|
boolean |
videoCaptureEnabled()
Tells whether video capture is enabled.
|
boolean |
videoDisplayEnabled()
Tells whether video display is enabled.
|
boolean |
videoEnabled()
Returns true if either capture or display is enabled, false otherwise.
|
boolean |
videoMulticastEnabled()
Use to get multicast state of video stream.
|
boolean |
videoPreviewEnabled()
Tells whether video preview is enabled.
|
boolean |
videoSupported()
Test if video is supported.
|
boolean |
wifiOnlyEnabled()
Tells whether Wifi only mode is enabled or not.
|
Factory getMediastreamerFactory()
@NonNull java.lang.String getAdaptiveRateAlgorithm()
setAdaptiveRateAlgorithm(java.lang.String)
void setAdaptiveRateAlgorithm(@NonNull java.lang.String algorithm)
algorithm
- the adaptive rate control algorithm. Currently two values areboolean adaptiveRateControlEnabled()
void enableAdaptiveRateControl(boolean enabled)
enabled
- true to enable adaptive rate control, false otherwise boolean audioAdaptiveJittcompEnabled()
void enableAudioAdaptiveJittcomp(boolean enable)
enable
- true to enable the audio adaptive jitter compensation, false to@NonNull AudioDevice[] getAudioDevices()
getExtendedAudioDevices()
AudioDevice
of each type int getAudioDscp()
void setAudioDscp(int dscp)
dscp
- The DSCP value to set int getAudioJittcomp()
void setAudioJittcomp(int milliseconds)
milliseconds
- the audio jitter buffer size to set in milliseconds @Nullable java.lang.String getAudioMulticastAddr()
int setAudioMulticastAddr(@Nullable java.lang.String ip)
ip
- an ipv4/6 multicast address. boolean audioMulticastEnabled()
setAudioMulticastAddr(java.lang.String)
void enableAudioMulticast(boolean yesno)
getVideoMulticastAddr()
yesno
- if yes, subsequent calls will propose multicast ip set by setAudioMulticastAddr(java.lang.String)
int getAudioMulticastTtl()
int setAudioMulticastTtl(int ttl)
ttl
- value or -1 if not used. [0..255] default value is 1 @NonNull PayloadType[] getAudioPayloadTypes()
void setAudioPayloadTypes(@Nullable PayloadType[] payloadTypes)
payloadTypes
- The new list of payload types. The core does not takeint getAudioPort()
void setAudioPort(int port)
port
- The UDP port to use for audio streaming @NonNull Range getAudioPortsRange()
Range
object void setAutoIterateEnabled(boolean enable)
iterate()
method on Androiditerate()
will be called on the main thread every 20msenable
- true to enable auto iterate, false to disable void setAvpfMode(AVPFMode mode)
AVPFMode.Default
is equivalent to LinphoneAVPFDisabled. ThisProxyConfig
with ProxyConfig.setAvpfMode(org.linphone.core.AVPFMode)
mode
- The AVPF mode to use. int getAvpfRrInterval()
void setAvpfRrInterval(int interval)
ProxyConfig.setAvpfRrInterval(int)
interval
- The report interval in seconds @NonNull CallLog[] getCallLogs()
CallLog
. @Nullable java.lang.String getCallLogsDatabasePath()
void setCallLogsDatabasePath(@Nullable java.lang.String path)
path
- filesystem path boolean callkitEnabled()
void enableCallkit(boolean enabled)
enabled
- true to enable callkit, false to disable it. @NonNull Call[] getCalls()
iterate()
. Similarly the Call
objects inside itCall
Call
int getCallsNb()
int getCameraSensorRotation()
@Nullable java.lang.String getCaptureDevice()
int setCaptureDevice(@Nullable java.lang.String devid)
devid
- The device name as returned by linphone_core_get_sound_devices boolean chatEnabled()
@NonNull ChatRoom[] getChatRooms()
@Nullable Conference getConference()
Conference
or null if no conference are going on. float getConferenceLocalInputVolume()
boolean conferenceServerEnabled()
void enableConferenceServer(boolean enable)
enable
- A boolean value telling whether to enable or disable theint getConferenceSize()
@NonNull Config getConfig()
Config
object. ConsolidatedPresence getConsolidatedPresence()
ConsolidatedPresence
presence void setConsolidatedPresence(ConsolidatedPresence presence)
presence
- ConsolidatedPresence
value @Nullable Call getCurrentCall()
@Nullable Address getCurrentCallRemoteAddress()
@NonNull VideoDefinition getCurrentPreviewVideoDefinition()
VideoDefinition
. setPreviewVideoDefinition(org.linphone.core.VideoDefinition)
@Nullable FriendList getDefaultFriendList()
FriendList
object or null. @NonNull AudioDevice getDefaultInputAudioDevice()
void setDefaultInputAudioDevice(@NonNull AudioDevice audioDevice)
audioDevice
- The AudioDevice
@NonNull AudioDevice getDefaultOutputAudioDevice()
void setDefaultOutputAudioDevice(@NonNull AudioDevice audioDevice)
audioDevice
- The AudioDevice
@Nullable ProxyConfig getDefaultProxyConfig()
void setDefaultProxyConfig(@Nullable ProxyConfig config)
Core
use theconfig
- The proxy configuration to use as the default one. @NonNull java.lang.String getDefaultVideoDisplayFilter()
int getDelayedTimeout()
void setDelayedTimeout(int seconds)
seconds
- The new delayed timeout int getDeviceRotation()
setDeviceRotation(int)
void setDeviceRotation(int rotation)
rotation
- The orientation to use boolean getDisableRecordOnMute()
setDisableRecordOnMute(boolean)
.void setDisableRecordOnMute(boolean disable)
disable
- True if you wish to entirely stop the audio recording whenboolean dnsSearchEnabled()
void enableDnsSearch(boolean enable)
enable
- true to enable DNS search, false to disable it. void setDnsServers(@Nullable java.lang.String[] servers)
servers
- A list of strings containing the IP addresses of DNS servers tovoid setDnsServersApp(@Nullable java.lang.String[] servers)
servers
- A list of strings containing the IP addresses of DNS servers toboolean getDnsSetByApp()
boolean dnsSrvEnabled()
void enableDnsSrv(boolean enable)
enable
- true to enable DNS SRV resolution, false to disable it. int getDownloadBandwidth()
void setDownloadBandwidth(int bandwidth)
bandwidth
- the bandwidth in kbits/s, 0 for infinite int getDownloadPtime()
void setDownloadPtime(int ptime)
ptime
- the download packetization time to set boolean echoCancellationEnabled()
void enableEchoCancellation(boolean enable)
enable
- A boolean value telling whether echo cancellation is to be@Nullable java.lang.String getEchoCancellerFilterName()
void setEchoCancellerFilterName(@Nullable java.lang.String filtername)
filtername
- The name of the mediastreamer2 filter to be used for echoboolean echoLimiterEnabled()
void enableEchoLimiter(boolean enable)
enable
- true to enable echo limiter, false to disable it. void setEnableSipUpdate(int value)
value
- Enable or disable it void setExpectedBandwidth(int bandwidth)
bandwidth
- the bandwidth in kbits/s, 0 for infinite @NonNull AudioDevice[] getExtendedAudioDevices()
AudioDevice
@Nullable java.lang.String getFileTransferServer()
void setFileTransferServer(@Nullable java.lang.String serverUrl)
serverUrl
- URL of the file server. boolean forcedIceRelayEnabled()
enableForcedIceRelay(boolean)
. void enableForcedIceRelay(boolean enable)
enable
- boolean value void enableFriendListSubscription(boolean enable)
enable
- whether or not to enable the feature @Nullable java.lang.String getFriendsDatabasePath()
void setFriendsDatabasePath(@Nullable java.lang.String path)
path
- filesystem path. @NonNull FriendList[] getFriendsLists()
FriendList
. @NonNull GlobalState getGlobalState()
GlobalState
enum. boolean getGuessHostname()
void setGuessHostname(boolean enable)
enable
- whether to enable the guess hostname feature or not @Nullable java.lang.String getHttpProxyHost()
void setHttpProxyHost(@Nullable java.lang.String host)
setNetworkReachable(boolean)
FASLE/true to force channel restart. host
- Hostname of IP adress of the http proxy (can be null to disable). int getHttpProxyPort()
void setHttpProxyPort(int port)
port
- of the http proxy. @NonNull java.lang.String getIdentity()
getPrimaryContact()
). If a default proxy is set@Nullable ImNotifPolicy getImNotifPolicy()
ImNotifPolicy
object. int getInCallTimeout()
void setInCallTimeout(int seconds)
seconds
- The new timeout in seconds int getIncTimeout()
void setIncTimeout(int seconds)
seconds
- The new timeout in seconds @Nullable AudioDevice getInputAudioDevice()
void setInputAudioDevice(@Nullable AudioDevice audioDevice)
audioDevice
- The AudioDevice
. null does nothing. boolean ipv6Enabled()
enableIpv6(boolean)
for more details on how IPv6 is supported invoid enableIpv6(boolean enable)
enable
- A boolean value telling whether to enable IPv6 support boolean isAutoIterateEnabled()
iterate()
is scheduled automatically, false otherwise boolean isEchoCancellerCalibrationRequired()
boolean isFriendListSubscriptionEnabled()
boolean isInBackground()
enterBackground()
enterForeground()
. @return true if the Core is in background, falseboolean isInConference()
Conference.removeParticipant(org.linphone.core.Address)
boolean isIncomingInvitePending()
boolean isMediaEncryptionMandatory()
boolean isNativeRingingEnabled()
boolean isNetworkReachable()
boolean isPushNotificationAvailable()
boolean isPushNotificationEnabled()
boolean isSenderNameHiddenInForwardMessage()
boolean isVibrationOnIncomingCallEnabled()
boolean keepAliveEnabled()
void enableKeepAlive(boolean enable)
enable
- A boolean value telling whether signaling keep alive is to be@Nullable CallLog getLastOutgoingCallLog()
boolean limeX3DhEnabled()
void enableLimeX3Dh(boolean enable)
enable
- A boolean value telling whether to enable or disable LIME X3DH @Nullable java.lang.String getLimeX3DhServerUrl()
void setLimeX3DhServerUrl(@Nullable java.lang.String url)
url
- The x3dh server url. @Deprecated @Nullable java.lang.String getLinphoneSpecs()
@Deprecated void setLinphoneSpecs(@Nullable java.lang.String specs)
specs
- The linphone specs to set @NonNull java.lang.String[] getLinphoneSpecsList()
void setLinphoneSpecsList(@Nullable java.lang.String[] specs)
specs
- The list of string specs to set. @Nullable java.lang.String getLogCollectionUploadServerUrl()
void setLogCollectionUploadServerUrl(@Nullable java.lang.String serverUrl)
serverUrl
- The url of the server where to upload the collected log files.int getMaxCalls()
void setMaxCalls(int max)
max
- number of simultaneous calls int getMaxSizeForAutoDownloadIncomingFiles()
void setMaxSizeForAutoDownloadIncomingFiles(int size)
size
- The size in bytes, -1 to disable the autodownload feature, 0 to@Nullable java.lang.String getMediaDevice()
int setMediaDevice(@Nullable java.lang.String devid)
devid
- The device name as returned by linphone_core_get_sound_devices MediaEncryption getMediaEncryption()
MediaEncryption
policy being used. int setMediaEncryption(MediaEncryption menc)
menc
- The media encryption policy to be used. void setMediaEncryptionMandatory(boolean mandatory)
mandatory
- true to set it mandatory; false otherwise. void setMediaNetworkReachable(boolean reachable)
setNetworkReachable(boolean)
.reachable
- true if network is reachable, false otherwise MediaResourceMode getMediaResourceMode()
void setMediaResourceMode(MediaResourceMode mode)
mode
- the chosen mode boolean micEnabled()
void enableMic(boolean enable)
enable
- true to enable the microphone, false to disable it. float getMicGainDb()
void setMicGainDb(float level)
level
- The new microphone level int getMissedCallsCount()
resetMissedCallsCount()
. int getMtu()
void setMtu(int mtu)
mtu
- The MTU in bytes @Nullable java.lang.String getNatAddress()
void setNatAddress(@Nullable java.lang.String addr)
addr
- The public IP address of NAT to use. @Nullable NatPolicy getNatPolicy()
NatPolicy
object in use. ProxyConfig.getNatPolicy()
void setNatPolicy(@Nullable NatPolicy policy)
policy
- NatPolicy
object ProxyConfig.setNatPolicy(org.linphone.core.NatPolicy)
@Nullable java.lang.Object getNativePreviewWindowId()
void setNativePreviewWindowId(@Nullable java.lang.Object windowId)
usePreviewWindow(boolean)
. MacOS,windowId
- The native window id where the preview video is to bevoid setNativeRingingEnabled(boolean enable)
enable
- True to enable native ringing, false otherwise @Nullable java.lang.Object getNativeVideoWindowId()
void setNativeVideoWindowId(@Nullable java.lang.Object windowId)
windowId
- The native window id where the remote video is to be displayed.void setNetworkReachable(boolean reachable)
reachable
- true if network is reachable, false otherwise int getNortpTimeout()
Core
willvoid setNortpTimeout(int seconds)
seconds
- The no-rtp timeout value to use in secondsgetNortpTimeout()
for details. @Nullable AudioDevice getOutputAudioDevice()
void setOutputAudioDevice(@Nullable AudioDevice audioDevice)
audioDevice
- The AudioDevice
. null does nothing. @Nullable java.lang.String getPlayFile()
setUseFiles(boolean)
). void setPlayFile(@Nullable java.lang.String file)
setUseFiles(boolean)
). file
- The path to the file to be played when putting somebody on hold. @Nullable java.lang.String getPlaybackDevice()
int setPlaybackDevice(@Nullable java.lang.String devid)
devid
- The device name as returned by linphone_core_get_sound_devices float getPlaybackGainDb()
void setPlaybackGainDb(float level)
level
- The new play level float getPreferredFramerate()
void setPreferredFramerate(float fps)
fps
- the target frame rate in number of frames per seconds. @NonNull VideoDefinition getPreferredVideoDefinition()
VideoDefinition
void setPreferredVideoDefinition(@NonNull VideoDefinition videoDefinition)
videoDefinition
- VideoDefinition
object void setPreferredVideoDefinitionByName(@NonNull java.lang.String name)
Factory.getSupportedVideoDefinitions()
to have a list of supportedname
- The name of the definition to set @Nullable PresenceModel getPresenceModel()
PresenceModel
object, or null if no presence model has beenvoid setPresenceModel(@Nullable PresenceModel presence)
presence
- PresenceModel
@Nullable VideoDefinition getPreviewVideoDefinition()
VideoDefinition
if it was previously set by setPreviewVideoDefinition(org.linphone.core.VideoDefinition)
setPreviewVideoDefinition(org.linphone.core.VideoDefinition)
void setPreviewVideoDefinition(@Nullable VideoDefinition videoDefinition)
videoDefinition
- VideoDefinition
object @NonNull java.lang.String getPrimaryContact()
int setPrimaryContact(@NonNull java.lang.String contact)
ProxyConfig
contact
- the contact to set @Deprecated @Nullable Address getPrimaryContactParsed()
createPrimaryContactParsed()
instead. Address
object. @Nullable java.lang.String getProvisioningUri()
int setProvisioningUri(@Nullable java.lang.String uri)
Core
start. uri
- the http or https uri to use in order to download the configuration.@NonNull ProxyConfig[] getProxyConfigList()
ProxyConfig
. int getPushIncomingCallTimeout()
void setPushIncomingCallTimeout(int seconds)
seconds
- The new timeout in seconds void setPushNotificationEnabled(boolean enable)
enable
- true to enable push notifications, false to disable boolean qrcodeVideoPreviewEnabled()
void enableQrcodeVideoPreview(boolean enable)
enable
- A boolean value telling whether the QRCode is enabled in theboolean realtimeTextEnabled()
@Nullable java.lang.String getRecordFile()
setUseFiles(boolean)
). CallParams.setRecordFile(java.lang.String)
void setRecordFile(@Nullable java.lang.String file)
setUseFiles(boolean)
). CallParams.setRecordFile(java.lang.String)
file
- The path to the file where incoming stream is to be recorded. @Nullable java.lang.String getRemoteRingbackTone()
void setRemoteRingbackTone(@Nullable java.lang.String ring)
ring
- The path to the remote ring back tone to be played. boolean retransmissionOnNackEnabled()
void enableRetransmissionOnNack(boolean enable)
enable
- A boolean value telling whether to enable NACK context @Nullable java.lang.String getRing()
void setRing(@Nullable java.lang.String path)
path
- The path to a wav file to be used for ringing, null to disable orboolean getRingDuringIncomingEarlyMedia()
void setRingDuringIncomingEarlyMedia(boolean enable)
enable
- A boolean value telling whether to enable ringing during an@Nullable java.lang.String getRingback()
void setRingback(@Nullable java.lang.String path)
path
- The path to a wav file to be used for ringing back. @Nullable java.lang.String getRingerDevice()
int setRingerDevice(@Nullable java.lang.String devid)
devid
- The device name as returned by linphone_core_get_sound_devices @Nullable java.lang.String getRootCa()
void setRootCa(@Nullable java.lang.String path)
path
- The path to a file or folder containing trusted root CAs. void setRootCaData(@Nullable java.lang.String data)
data
- The trusted root CAs as a string boolean rtpBundleEnabled()
void enableRtpBundle(boolean value)
CallParams
. value
- a boolean to indicate whether the feature is to be enabled. boolean sdp200AckEnabled()
void enableSdp200Ack(boolean enable)
enable
- true if INVITE has to be sent whitout SDP. boolean selfViewEnabled()
enableSelfView(boolean)
for details. void enableSelfView(boolean enable)
enable
- A boolean value telling whether to enable self view Self-viewvoid enableSenderNameHiddenInForwardMessage(boolean enable)
enable
- whether or not to enable the feature boolean getSessionExpiresEnabled()
void setSessionExpiresEnabled(boolean enabled)
enabled
- Enable or disable it int getSessionExpiresMinValue()
void setSessionExpiresMinValue(int min)
SessionExpiresRefresher getSessionExpiresRefresherValue()
void setSessionExpiresRefresherValue(SessionExpiresRefresher refresher)
refresher
- The SessionExpiresRefresher
configuration value int getSessionExpiresValue()
void setSessionExpiresValue(int expires)
int getSipDscp()
void setSipDscp(int dscp)
dscp
- The DSCP value to set void setSipNetworkReachable(boolean reachable)
setNetworkReachable(boolean)
.reachable
- true if network is reachable, false otherwise int getSipTransportTimeout()
void setSipTransportTimeout(int timeoutMs)
timeoutMs
- The SIP transport timeout in milliseconds. @Deprecated @NonNull java.lang.String[] getSoundDevicesList()
getAudioDevices()
instead.@Nullable java.lang.String getStaticPicture()
int setStaticPicture(@Nullable java.lang.String path)
path
- The path to the image file to use. float getStaticPictureFps()
int setStaticPictureFps(float fps)
fps
- The new frame rate to use for static picture. @Nullable java.lang.String getStunServer()
void setStunServer(@Nullable java.lang.String server)
server
- The STUN server address to use. @NonNull java.lang.String[] getSupportedFileFormatsList()
void setSupportedTag(java.lang.String tags)
@NonNull PayloadType[] getTextPayloadTypes()
void setTextPayloadTypes(@Nullable PayloadType[] payloadTypes)
payloadTypes
- The new list of payload types. The core does not takeint getTextPort()
void setTextPort(int port)
port
- The UDP port to use for text streaming @NonNull Range getTextPortsRange()
Range
object @Nullable java.lang.String getTlsCert()
void setTlsCert(@Nullable java.lang.String tlsCert)
Core
startup. tlsCert
- the TLS certificate. @Nullable java.lang.String getTlsCertPath()
void setTlsCertPath(@Nullable java.lang.String tlsCertPath)
tlsCertPath
- path to the TLS certificate. @Nullable java.lang.String getTlsKey()
void setTlsKey(@Nullable java.lang.String tlsKey)
Core
startup. tlsKey
- the TLS key. @Nullable java.lang.String getTlsKeyPath()
void setTlsKeyPath(@Nullable java.lang.String tlsKeyPath)
tlsKeyPath
- path to the TLS key. @NonNull Transports getTransports()
Transports
structure with the configured ports int setTransports(@NonNull Transports transports)
transports
- A #LinphoneSipTransports structure giving the ports to use @NonNull Transports getTransportsUsed()
Transports
structure with the ports being used @Nullable Tunnel getTunnel()
Tunnel
or null if not available. int getUnreadChatMessageCount()
int getUnreadChatMessageCountFromActiveLocals()
int getUploadBandwidth()
void setUploadBandwidth(int bandwidth)
bandwidth
- the bandwidth in kbits/s, 0 for infinite int getUploadPtime()
void setUploadPtime(int ptime)
ptime
- the upload packetization time to set @Nullable java.lang.String getUpnpExternalIpaddress()
UpnpState getUpnpState()
boolean getUseFiles()
void setUseFiles(boolean yesno)
yesno
- A boolean value asking to stream audio from and to files or not. boolean getUseInfoForDtmf()
void setUseInfoForDtmf(boolean useInfo)
useInfo
- A boolean value telling whether to use SIP INFO to send digits boolean getUseRfc2833ForDtmf()
void setUseRfc2833ForDtmf(boolean useRfc2833)
useRfc2833
- A boolean value telling whether to use RFC2833 to send digits @NonNull java.lang.String getUserAgent()
@Nullable java.lang.String getUserCertificatesPath()
void setUserCertificatesPath(@Nullable java.lang.String path)
path
- The path to the directory to use to store the user's certificates. void setVibrationOnIncomingCallEnabled(boolean enable)
@NonNull VideoActivationPolicy getVideoActivationPolicy()
setVideoActivationPolicy(org.linphone.core.VideoActivationPolicy)
for more details. void setVideoActivationPolicy(@NonNull VideoActivationPolicy policy)
policy
- The VideoActivationPolicy
to use boolean videoAdaptiveJittcompEnabled()
void enableVideoAdaptiveJittcomp(boolean enable)
enable
- true to enable the video adaptive jitter compensation, false toboolean videoCaptureEnabled()
void enableVideoCapture(boolean enable)
Core
to initiate future calls with video capture or not. enable
- true to enable video capture, false to disable it. @Nullable java.lang.String getVideoDevice()
int setVideoDevice(@Nullable java.lang.String id)
id
- The name of the video device to use as returned by@NonNull java.lang.String[] getVideoDevicesList()
boolean videoDisplayEnabled()
void enableVideoDisplay(boolean enable)
Core
to initiate future calls with video display or not. enable
- true to enable video display, false to disable it. @Nullable java.lang.String getVideoDisplayFilter()
void setVideoDisplayFilter(@Nullable java.lang.String filterName)
filterName
- the filter name to use or null to use default. int getVideoDscp()
void setVideoDscp(int dscp)
dscp
- The DSCP value to set boolean videoEnabled()
videoCaptureEnabled()
| videoDisplayEnabled()
)int getVideoJittcomp()
void setVideoJittcomp(int milliseconds)
milliseconds
- the jitter buffer size in milliseconds @Nullable java.lang.String getVideoMulticastAddr()
int setVideoMulticastAddr(@Nullable java.lang.String ip)
ip
- an ipv4/6 multicast address. boolean videoMulticastEnabled()
setVideoMulticastAddr(java.lang.String)
void enableVideoMulticast(boolean yesno)
getVideoMulticastAddr()
yesno
- if yes, subsequent outgoing calls will propose multicast ip set bysetVideoMulticastAddr(java.lang.String)
int getVideoMulticastTtl()
int setVideoMulticastTtl(int ttl)
ttl
- value or -1 if not used. [0..255] default value is 1 @NonNull PayloadType[] getVideoPayloadTypes()
void setVideoPayloadTypes(@Nullable PayloadType[] payloadTypes)
payloadTypes
- The new list of codecs. The core does not take ownership onint getVideoPort()
void setVideoPort(int port)
port
- The UDP port to use for video streaming @NonNull Range getVideoPortsRange()
Range
object @Nullable java.lang.String getVideoPreset()
void setVideoPreset(@Nullable java.lang.String preset)
preset
- The name of the video preset to be used (can be null to use theboolean videoPreviewEnabled()
void enableVideoPreview(boolean enable)
enable
- A boolean value telling whether the video preview is to be shownvoid enableVideoSourceReuse(boolean enable)
Core
to initiate future calls with video source reuse or not. Also, atenable
- true to enable video source reuse. false to disable it forboolean wifiOnlyEnabled()
void enableWifiOnly(boolean enable)
enable
- A boolean value telling whether to enable IPv6 support @Nullable java.lang.String getZrtpSecretsFile()
void setZrtpSecretsFile(@Nullable java.lang.String file)
file
- The path to the file to use to store the zrtp secrets cache. void activateAudioSession(boolean actived)
int addAllToConference()
void addAuthInfo(@NonNull AuthInfo info)
Core
. info
- The AuthInfo
to add. void addContentTypeSupport(@NonNull java.lang.String contentType)
contentType
- The content type to add support for void addFriendList(@NonNull FriendList list)
list
- FriendList
object void addLinphoneSpec(@NonNull java.lang.String spec)
spec
- The spec to add int addProxyConfig(@NonNull ProxyConfig config)
config
- the ProxyConfig
to add void addSupportedTag(@NonNull java.lang.String tag)
tag
- The feature tag name int addToConference(@NonNull Call call)
call
- The current call with the participant to add @Deprecated void audioRouteChanged()
void checkForUpdate(@NonNull java.lang.String currentVersion)
currentVersion
- The current version of the application void clearAllAuthInfo()
void clearCallLogs()
void clearProxyConfig()
void configureAudioSession()
@NonNull AccountCreator createAccountCreator(@Nullable java.lang.String xmlrpcUrl)
xmlrpcUrl
- The URL to the XML-RPC server. AccountCreator
object. @Nullable Address createAddress(@Nullable java.lang.String address)
address
- String containing the user supplied address Address
object @NonNull CallLog createCallLog(@NonNull Address from, @NonNull Address to, Call.Dir dir, int duration, long startTime, long connectedTime, Call.Status status, boolean videoEnabled, float quality)
from
- Address
of caller to
- Address
of callee dir
- Call#Dir
of call duration
- call length in seconds startTime
- timestamp of call start time connectedTime
- timestamp of call connection status
- Call#Status
of call videoEnabled
- whether video was enabled or not for this call quality
- call quality CallLog
object @Nullable CallParams createCallParams(@Nullable Call call)
CallParams
suitable for inviteWithParams(java.lang.String, org.linphone.core.CallParams)
,Core
CallParams
, the ones passedCall.update(org.linphone.core.CallParams)
, Call.acceptWithParams(org.linphone.core.CallParams)
orcall
- Call
for which the parameters are to be build, or null inCallParams
object. @Deprecated @Nullable ChatRoom createChatRoom(@NonNull Address participant)
createChatRoom(org.linphone.core.Address)
insteadparticipant
- Address
representing the initial participant to add@Deprecated @Nullable ChatRoom createChatRoom(@NonNull ChatRoomParams params, @NonNull Address localAddr, @NonNull Address participant)
createChatRoom(org.linphone.core.Address)
insteadparams
- The chat room creation parameters ChatRoomParams
localAddr
- Address
representing the local proxy configuration toparticipant
- Address
representing the initial participant to add@Deprecated @Nullable ChatRoom createChatRoom(@NonNull ChatRoomParams params, @NonNull Address localAddr, @NonNull java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.Address)
insteadparams
- The chat room creation parameters ChatRoomParams
localAddr
- Address
representing the local proxy configuration tosubject
- The subject of the group chat room participants
- The initial list of participants of the chat room @Deprecated @Nullable ChatRoom createChatRoom(@NonNull ChatRoomParams params, java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.Address)
insteadparams
- The chat room creation parameters ChatRoomParams
participants
- The initial list of participants of the chat room. @Nullable ChatRoom createChatRoom(@Nullable ChatRoomParams params, @Nullable Address localAddr, @NonNull Address[] participants)
params
- The chat room creation parameters ChatRoomParams
localAddr
- Address
representing the local proxy configuration toparticipants
- The initial list of participants of the chat room. @Deprecated @Nullable ChatRoom createChatRoom(@NonNull java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.Address)
insteadsubject
- The subject of the group chat room participants
- The initial list of participants of the chat room. @Deprecated @Nullable ChatRoom createClientGroupChatRoom(@NonNull java.lang.String subject, boolean fallback, boolean encrypted)
createChatRoom(org.linphone.core.Address)
insteadChatRoom.addParticipants(org.linphone.core.Address[])
to create at theChatRoom.addParticipants(org.linphone.core.Address[])
is called withsubject
- The subject of the group chat room fallback
- Boolean value telling whether we should plan on being able toencrypted
- Boolean value telling whether we should apply encryption or@Deprecated @Nullable ChatRoom createClientGroupChatRoom(@NonNull java.lang.String subject, boolean fallback)
createChatRoom(org.linphone.core.Address)
insteadChatRoom.addParticipants(org.linphone.core.Address[])
to create at theChatRoom.addParticipants(org.linphone.core.Address[])
is called withsubject
- The subject of the group chat room fallback
- Boolean value telling whether we should plan on being able to@NonNull ConferenceParams createConferenceParams()
createConferenceWithParams(org.linphone.core.ConferenceParams)
. @Nullable Conference createConferenceWithParams(@NonNull ConferenceParams params)
params
- Parameters of the conference. See ConferenceParams
. terminateConference()
. @NonNull Config createConfig(@Nullable java.lang.String filename)
@NonNull Content createContent()
Content
object with default values set @NonNull ChatRoomParams createDefaultChatRoomParams()
ChatRoomParams
object @NonNull Friend createFriend()
Friend
object @NonNull FriendList createFriendList()
FriendList
object. @Nullable Friend createFriendWithAddress(@NonNull java.lang.String address)
@NonNull InfoMessage createInfoMessage()
InfoMessage.addHeader(java.lang.String, java.lang.String)
InfoMessage.setContent(org.linphone.core.Content)
, and finally sent with@Nullable Player createLocalPlayer(@Nullable java.lang.String soundCardName, @Nullable java.lang.String videoDisplayName, @Nullable java.lang.Object windowId)
soundCardName
- Playback sound card. If null, the ringer sound card set inCore
will be used videoDisplayName
- Video display. If null, the video display set in Core
windowId
- Id of the drawing window. Depend of video out @NonNull MagicSearch createMagicSearch()
MagicSearch
object @Nullable NatPolicy createNatPolicyFromConfig(@NonNull java.lang.String ref)
@NonNull Event createNotify(@NonNull Address resource, @NonNull java.lang.String event)
Event.notify(org.linphone.core.Content)
. resource
- the destination resource event
- the event name Event
holding the context of the notification. @NonNull Event createOneShotPublish(@NonNull Address resource, @NonNull java.lang.String event)
Event.sendPublish(org.linphone.core.Content)
.Event
is automatically terminated when the publish transaction isEvent.terminate()
resource
- the resource uri for the event event
- the event name Event
holding the context of the publish. @NonNull PresenceActivity createPresenceActivity(PresenceActivity.Type acttype, @Nullable java.lang.String description)
acttype
- The PresenceActivity#Type
to set for the activity. description
- An additional description of the activity to set for thePresenceActivity
object. @NonNull PresenceModel createPresenceModel()
PresenceModel
object. @NonNull PresenceModel createPresenceModelWithActivity(PresenceActivity.Type acttype, @Nullable java.lang.String description)
acttype
- The PresenceActivity#Type
to set for the activity of thedescription
- An additional description of the activity to set for thePresenceModel
object. @NonNull PresenceModel createPresenceModelWithActivityAndNote(PresenceActivity.Type acttype, @Nullable java.lang.String description, @NonNull java.lang.String note, @Nullable java.lang.String lang)
PresenceModel
with the given activity type, activityacttype
- The PresenceActivity#Type
to set for the activity of thedescription
- An additional description of the activity to set for thenote
- The content of the note to be added to the created model. lang
- The language of the note to be added to the created model. PresenceModel
object. @NonNull PresenceNote createPresenceNote(@NonNull java.lang.String content, @Nullable java.lang.String lang)
content
- The content of the note to be created. lang
- The language of the note to be created. PresenceNote
object. @NonNull PresencePerson createPresencePerson(@NonNull java.lang.String id)
id
- The id of the person to be created. PresencePerson
object. @NonNull PresenceService createPresenceService(@NonNull java.lang.String id, PresenceBasicStatus basicStatus, @NonNull java.lang.String contact)
id
- The id of the service to be created. basicStatus
- The basic status of the service to be created. contact
- A string containing a contact information corresponding to thePresenceService
object. @Nullable Address createPrimaryContactParsed()
Address
object. @NonNull ProxyConfig createProxyConfig()
ProxyConfig
with default values set @NonNull Event createPublish(@NonNull Address resource, @NonNull java.lang.String event, int expires)
Event.sendPublish(org.linphone.core.Content)
.resource
- the resource uri for the event event
- the event name expires
- the lifetime of event being published, -1 if no associatedEvent
holding the context of the publish. @NonNull Event createSubscribe(@NonNull Address resource, @NonNull ProxyConfig proxy, @NonNull java.lang.String event, int expires)
subscribe(org.linphone.core.Address, java.lang.String, int, org.linphone.core.Content)
the subscriptionEvent.sendSubscribe(org.linphone.core.Content)
resource
- the destination resource proxy
- the proxy configuration to use event
- the event name expires
- the whished duration of the subscription Event
holding the context of the created subcription. @NonNull Event createSubscribe(@NonNull Address resource, @NonNull java.lang.String event, int expires)
subscribe(org.linphone.core.Address, java.lang.String, int, org.linphone.core.Content)
the subscriptionEvent.sendSubscribe(org.linphone.core.Content)
resource
- the destination resource event
- the event name expires
- the whished duration of the subscription Event
holding the context of the created subcription. @NonNull XmlRpcSession createXmlRpcSession(@NonNull java.lang.String url)
url
- The URL to the XML-RPC server. Must be NON null. XmlRpcSession
object. void deleteChatRoom(@NonNull ChatRoom chatRoom)
chatRoom
- A ChatRoom
object void disableChat(Reason denyReason)
denyReason
- the deny reason (Reason.None
has no effect). void enableChat()
disableChat(org.linphone.core.Reason)
. @Deprecated void enableLime(LimeState enable)
enable
- The new lime statevoid ensureRegistered()
void enterBackground()
int enterConference()
void enterForeground()
boolean fileFormatSupported(@NonNull java.lang.String fmt)
fmt
- The format extension (wav, mkv). @Nullable AuthInfo findAuthInfo(@Nullable java.lang.String realm, @NonNull java.lang.String username, @Nullable java.lang.String sipDomain)
realm
- the authentication 'realm' (optional) username
- the SIP username to be authenticated (mandatory) sipDomain
- the SIP domain name (optional) AuthInfo
if found. @Deprecated @Nullable Call findCallFromUri(@NonNull java.lang.String uri)
getCallByRemoteAddress2(org.linphone.core.Address)
instead. uri
- which should match call remote uri Call
or null is no match is found. @Nullable CallLog findCallLogFromCallId(@NonNull java.lang.String callId)
callId
- Call id of the call log to find @Deprecated @Nullable ChatRoom findChatRoom(@NonNull Address peerAddr, @NonNull Address localAddr)
searchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
insteadCore
keeps apeerAddr
- a linphone address. localAddr
- a linphone address. ChatRoom
where messaging can take place. @NonNull Address[] findContactsByChar(@NonNull java.lang.String filter, boolean sipOnly)
@Nullable Friend findFriendByPhoneNumber(@NonNull java.lang.String phoneNumber)
phoneNumber
- The phone number to use to search the friend. Friend
object corresponding to the given phone number or@NonNull Friend[] findFriends(@NonNull Address address)
address
- The address to use to search the friends. Friend
corresponding to the given address. @Deprecated @Nullable ChatRoom findOneToOneChatRoom(@NonNull Address localAddr, @NonNull Address participantAddr, boolean encrypted)
searchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
insteadCore
keeps alocalAddr
- a linphone address. participantAddr
- a linphone address. encrypted
- whether to look for an encrypted chat room or not ChatRoom
where messaging can take place. @Deprecated @Nullable ChatRoom findOneToOneChatRoom(@NonNull Address localAddr, @NonNull Address participantAddr)
Core
keeps alocalAddr
- a linphone address. participantAddr
- a linphone address. ChatRoom
where messaging can take place. @Nullable Call getCallByCallid(java.lang.String callId)
Call
, return null if there is no call find. @Deprecated @Nullable Call getCallByRemoteAddress(@NonNull java.lang.String remoteAddress)
getCallByRemoteAddress2(org.linphone.core.Address)
instead remoteAddress
- The remote address of the call that we want to get @NonNull CallLog[] getCallHistory(@NonNull Address peerAddress, @NonNull Address localAddress)
@Deprecated @NonNull CallLog[] getCallHistoryForAddress(@NonNull Address address)
getCallHistory(org.linphone.core.Address, org.linphone.core.Address)
instead.Address
. @Deprecated @Nullable ChatRoom getChatRoom(@NonNull Address peerAddr, @NonNull Address localAddr)
searchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
insteadCore
keeps a reference on thesearchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
peerAddr
- a linphone address. localAddr
- a linphone address. ChatRoom
where messaging can take place. @Deprecated @Nullable ChatRoom getChatRoom(@NonNull Address addr)
searchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
insteadCore
keeps a reference on thesearchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
addr
- a linphone address. ChatRoom
where messaging can take place. @Deprecated @Nullable ChatRoom getChatRoomFromUri(@NonNull java.lang.String to)
searchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
insteadCore
keeps a reference on thesearchChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, org.linphone.core.Address, org.linphone.core.Address[])
to
- The destination address for messages. ChatRoom
where messaging can take place. @Nullable Friend getFriendByRefKey(@NonNull java.lang.String key)
key
- The reference key to use to search the friend. Friend
object corresponding to the given reference key. @Nullable FriendList getFriendListByName(@NonNull java.lang.String name)
name
- the name of the list FriendList
object or null. @Nullable PayloadType getPayloadType(@NonNull java.lang.String type, int rate, int channels)
type
- payload mime type (I.E SPEEX, PCMU, VP8) rate
- can be LINPHONE_FIND_PAYLOAD_IGNORE_RATE channels
- number of channels, can bePayloadType
is returned, it@Nullable ProxyConfig getProxyConfigByIdkey(java.lang.String idkey)
idkey
- An arbitrary idkey string associated to a proxy configuration ProxyConfig
object for the given idkey value, or null ifint getUnreadChatMessageCountFromLocal(@NonNull Address address)
address
- Address
object. ZrtpPeerStatus getZrtpStatus(@NonNull java.lang.String addr)
addr
- the peer uri boolean hasBuiltinEchoCanceller()
boolean hasCrappyOpengl()
boolean inCall()
@Nullable Address interpretUrl(@NonNull java.lang.String url)
Address
from the given string if possible. ProxyConfig.normalizeSipUri(java.lang.String)
for documentation. url
- the url to parse Address
matching the url or null in case of failure. @Nullable Call invite(@NonNull java.lang.String url)
url
- The destination of the call (sip address, or phone number). Call
object or null in case of failure. @Nullable Call inviteAddress(@NonNull Address addr)
Address
The Address
interpretUrl(java.lang.String)
Call
object.Call
pointer valid within youraddr
- The destination of the call (sip address). Call
object or null in case of failure. @Nullable Call inviteAddressWithParams(@NonNull Address addr, @NonNull CallParams params)
Address
The Address
interpretUrl(java.lang.String)
Call
object.Call
pointer valid within youraddr
- The destination of the call (sip address). params
- Call parameters Call
object or null in case of failure. @Nullable Call inviteWithParams(@NonNull java.lang.String url, @NonNull CallParams params)
Call
object. Call
pointer valid within yoururl
- The destination of the call (sip address, or phone number). params
- the CallParams
call parameters Call
object or null in case of failure. boolean isContentTypeSupported(@NonNull java.lang.String contentType)
contentType
- The content type to check boolean isMediaFilterSupported(@NonNull java.lang.String filtername)
filtername
- the filter name void iterate()
iterate()
performs various backgrounds tasks:int leaveConference()
@Deprecated boolean limeAvailable()
@Deprecated LimeState limeEnabled()
boolean limeX3DhAvailable()
void loadConfigFromXml(@NonNull java.lang.String xmlUri)
xmlUri
- the path to the xml file boolean mediaEncryptionSupported(MediaEncryption menc)
menc
- MediaEncryption
Core
void migrateLogsFromRcToDb()
int migrateToMultiTransport()
iterate()
void notifyAllFriends(@NonNull PresenceModel presence)
presence
- PresenceModel
to notify void notifyNotifyPresenceReceived(@NonNull Friend linphoneFriend)
linphoneFriend
- the Friend
whose presence information has beenvoid notifyNotifyPresenceReceivedForUriOrTel(@NonNull Friend linphoneFriend, @NonNull java.lang.String uriOrTel, @NonNull PresenceModel presenceModel)
linphoneFriend
- the Friend
whose presence information has beenuriOrTel
- telephone number or sip uri presenceModel
- the PresenceModel
that has been modified int pauseAllCalls()
void playDtmf(char dtmf, int durationMs)
dtmf
- DTMF to play ['0'..'16'] | '#' | '#' durationMs
- Duration in ms, -1 means play until next further call tostopDtmf()
int playLocal(@NonNull java.lang.String audiofile)
audiofile
- The path to an audio file in wav PCM 16 bit format int preemptSoundResources()
void previewOglRender()
@Nullable Event publish(@NonNull Address resource, @NonNull java.lang.String event, int expires, @NonNull Content body)
Event
with createPublish(org.linphone.core.Address, java.lang.String, int)
and calls Event.sendPublish(org.linphone.core.Content)
resource
- the resource uri for the event event
- the event name expires
- the lifetime of event being published, -1 if no associatedbody
- the actual published data Event
holding the context of the publish. int realtimeTextGetKeepaliveInterval()
void realtimeTextSetKeepaliveInterval(int interval)
interval
- The keep alive interval of real time text, 25000 by default. void refreshRegisters()
void rejectSubscriber(@NonNull Friend linphoneFriend)
Friend.setIncSubscribePolicy(org.linphone.core.SubscribePolicy)
with SubscribePolicy.SPDeny
linphoneFriend
- Friend
to reject void reloadMsPlugins(@Nullable java.lang.String path)
path
- the path from where plugins are to be loaded, pass null to usevoid reloadSoundDevices()
void reloadVideoDevices()
void removeAuthInfo(@NonNull AuthInfo info)
info
- The AuthInfo
to remove. void removeCallLog(@NonNull CallLog callLog)
callLog
- CallLog
object to remove. void removeContentTypeSupport(@NonNull java.lang.String contentType)
contentType
- The content type to remove support for void removeFriendList(@NonNull FriendList list)
list
- FriendList
object int removeFromConference(@NonNull Call call)
call
- a call that has been previously merged into the conference. leaveConference()
is explicitly called, the lastvoid removeLinphoneSpec(@NonNull java.lang.String spec)
spec
- The spec to remove void removeProxyConfig(@NonNull ProxyConfig config)
Core
will then automatically unregister and place the proxyconfig
- the ProxyConfig
to remove void removeSupportedTag(@NonNull java.lang.String tag)
tag
- The tag to remove addSupportedTag(java.lang.String)
void resetMissedCallsCount()
@Nullable ChatRoom searchChatRoom(@Nullable ChatRoomParams params, @Nullable Address localAddr, @Nullable Address remoteAddr, @Nullable Address[] participants)
params
- The chat room parameters to match ChatRoomParams
or null localAddr
- Address
representing the local proxy configuration orremoteAddr
- Address
to search for or null participants
- The participants that must be present in the chat room tovoid setAudioPortRange(int minPort, int maxPort)
minPort
- The lower bound of the audio port range to use maxPort
- The upper bound of the audio port range to use void setCallErrorTone(Reason reason, @Nullable java.lang.String audiofile)
reason
- the Reason
representing the failure error code. audiofile
- a wav file to be played when such call failure happens. void setQrcodeDecodeRect(int x, int y, int w, int h)
x
- axis y
- axis w
- width h
- height void setTextPortRange(int minPort, int maxPort)
minPort
- The lower bound of the text port range to use maxPort
- The upper bound of the text port range to use void setTone(ToneID toneId, @NonNull java.lang.String audiofile)
toneId
- the #LinphoneToneId audiofile
- a wav file to be played. void setUserAgent(@Nullable java.lang.String name, @Nullable java.lang.String version)
name
- Name of the user agent. version
- Version of the user agent. void setVideoPortRange(int minPort, int maxPort)
minPort
- The lower bound of the video port range to use maxPort
- The upper bound of the video port range to use @Deprecated boolean soundDeviceCanCapture(@NonNull java.lang.String device)
AudioDevice
API instead()device
- the device name as returned by linphone_core_get_sound_devices @Deprecated boolean soundDeviceCanPlayback(@NonNull java.lang.String device)
AudioDevice
API instead()device
- the device name as returned by linphone_core_get_sound_devices boolean soundResourcesLocked()
soundResourcesLocked()
to know whether it isint start()
Core
object after it has been instantiated and notCore
object that has been stopped using stop()
GlobalState
is either Ready of Off. State willint startConferenceRecording(@NonNull java.lang.String path)
path
- Path to the file where the recording will be written int startEchoCancellerCalibration()
int startEchoTester(int rate)
rate
- Sound sample rate. void stop()
Core
object after it has been instantiated and started. start()
. Must be called onlyGlobalState
is either On. State will changed to Shutdown and thenvoid stopAsync()
Core
object after it has been instantiated anditerate()
must be called to allow theGlobalState
GlobalState
is Off Core
can be started again usingstart()
.int stopConferenceRecording()
void stopDtmf()
int stopEchoTester()
void stopRinging()
@NonNull Event subscribe(@NonNull Address resource, @NonNull java.lang.String event, int expires, @Nullable Content body)
resource
- the destination resource event
- the event name expires
- the whished duration of the subscription body
- an optional body, may be null. Event
holding the context of the created subcription. int takePreviewSnapshot(@NonNull java.lang.String file)
file
- a path where to write the jpeg content. int terminateAllCalls()
int terminateConference()
void uploadLogCollection()
void usePreviewWindow(boolean yesno)
yesno
- true to use a separate window, false to insert the preview in thevoid verifyServerCertificates(boolean yesno)
yesno
- A boolean value telling whether the tls server certificate must bevoid verifyServerCn(boolean yesno)
yesno
- A boolean value telling whether the tls server certificate commonboolean videoSupported()
@NonNull java.lang.String compressLogCollection()
void enableLogCollection(LogCollectionState state)
state
- LogCollectionState
value telling whether to enable log@NonNull int getLogCollectionMaxFileSize()
@NonNull java.lang.String getLogCollectionPath()
@NonNull java.lang.String getLogCollectionPrefix()
@NonNull java.lang.String getVersion()
Core
LogCollectionState logCollectionEnabled()
LogCollectionState
of the Core
log collection. void resetLogCollection()
void serializeLogs()
iterate()
). void setLogCollectionMaxFileSize(int size)
enableLogCollection(org.linphone.core.LogCollectionState)
. If you increase maxsize
- The max file size in bytes of the files used for log collection. void setLogCollectionPath(@NonNull java.lang.String path)
path
- The path where the log files will be written. void setLogCollectionPrefix(@NonNull java.lang.String prefix)
prefix
- The prefix to use for the filenames for log collection. boolean tunnelAvailable()
boolean upnpAvailable()
boolean vcardSupported()
void addListener(CoreListener listener)
void removeListener(CoreListener listener)
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object