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 start#addCallbacks
to it to monitor differentiterate()
stop()
and release the reference onModifier and Type | Interface | Description |
---|---|---|
static class |
Core.LogCollectionUploadState |
Modifier and Type | Method | Description |
---|---|---|
void |
activateAudioSession(boolean actived) |
Special function to indicate if the audio session is activated.
|
int |
addAccount(Account account) |
Add an account.
|
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 |
addLdap(Ldap ldap) |
Add or update a LDAP server and save it to the configuration.
|
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.
|
void |
audioRouteChanged() |
Deprecated.
07/01/2020 now handled in the linphone SDK directly
|
ChatRoomEphemeralMode |
chatRoomGetDefaultEphemeralMode() |
Gets the default ephemeral message mode core the linphone core.
|
void |
chatRoomSetDefaultEphemeralMode(ChatRoomEphemeralMode mode) |
Sets the default ephemeral message mode.
|
void |
checkForUpdate(java.lang.String currentVersion) |
Checks if a new version of the application is available.
|
void |
clearAccounts() |
Erase all account from config.
|
void |
clearAllAuthInfo() |
Clear all authentication information.
|
void |
clearCallLogs() |
Erase the call log.
|
void |
clearLdaps() |
Erase all LDAP from the configuration.
|
void |
clearProxyConfig() |
Erase all proxies from config.
|
java.lang.String |
compressLogCollection() |
Compress the log collection in a single file.
|
int |
configSync() |
Writes the config file to disk.
|
void |
configureAudioSession() |
Special function to configure audio session with default settings.
|
Account |
createAccount(AccountParams params) |
Create an account using given parameters, see
createAccountParams() . |
AccountCreator |
createAccountCreator(java.lang.String xmlrpcUrl) |
Create a
AccountCreator and set Linphone Request callbacks. |
AccountParams |
createAccountParams() |
Create an account params using default values from Linphone core.
|
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(java.lang.String subject,
Address[] participants) |
Deprecated.
|
ChatRoom |
createChatRoom(Address participant) |
Deprecated.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
java.lang.String subject,
Address[] participants) |
Deprecated.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
java.lang.String subject,
Address[] participants) |
Deprecated.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
Address participant) |
Deprecated.
|
ChatRoom |
createChatRoom(ChatRoomParams params,
Address localAddr,
Address[] participants) |
Create a chat room.
|
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback) |
Deprecated.
|
ChatRoom |
createClientGroupChatRoom(java.lang.String subject,
boolean fallback,
boolean encrypted) |
Deprecated.
|
ConferenceParams |
createConferenceParams(Conference conference) |
Create some default conference parameters for instanciating a conference with
createConferenceWithParams(org.linphone.core.ConferenceParams) . |
ConferenceScheduler |
createConferenceScheduler() |
Create a conference scheduler that can be used to create remote conferences for
now or later and then send conference info as an ICS through chat. |
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.
|
Ldap |
createLdap() |
Create an empty LDAP search.
|
LdapParams |
createLdapParams() |
Create a LDAP params using default values from Linphone core.
|
Ldap |
createLdapWithParams(LdapParams params) |
Create a LDAP search using given parameters and store them in the configuration
file. |
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. |
java.lang.Object |
createNativePreviewWindowId() |
Create a native window handle for the video preview window.
|
java.lang.Object |
createNativeVideoWindowId() |
Create a native window handle for the video window.
|
NatPolicy |
createNatPolicy() |
Create a new
NatPolicy object with every policies being disabled. |
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.
|
Recorder |
createRecorder(RecorderParams params) |
Create a media file recorder.
|
RecorderParams |
createRecorderParams() |
Create a recorder params that will hold parameters.
|
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. |
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. |
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 |
deleteConferenceInformation(ConferenceInfo conferenceInfo) |
Deletes a conference information from DB.
|
void |
didRegisterForRemotePush(java.lang.Object deviceToken) |
Sets device_token when application
didRegisterForRemoteNotificationsWithDeviceToken (IOS only). |
void |
didRegisterForRemotePushWithStringifiedToken(java.lang.String deviceTokenStr) |
Sets device_token when application
didRegisterForRemoteNotificationsWithDeviceToken (IOS only). |
void |
disableChat(Reason denyReason) |
Inconditionnaly disable incoming chat messages.
|
void |
enableChat() |
Enable reception of incoming chat messages.
|
void |
enableLime(LimeState enable) |
Deprecated.
04/02/2019 Use linphone_core_enable_lime_x3dh instead.
|
void |
enableLogCollection(LogCollectionState state) |
Enable the linphone core log collection to upload logs on a server.
|
void |
ensureRegistered() |
Deprecated.
09/03/2022 See
processPushNotification(java.lang.String) instead. |
void |
enterBackground() |
This method is called by the application to notify the linphone core library
when it enters background mode. |
int |
enterConference() |
Deprecated.
09/03/2021 Use
Conference.enter() instead. |
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 |
findCallLog(java.lang.String callId,
int limit) |
Get the call log matching the call id, or null if can't be found.
|
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.
|
ConferenceInfo |
findConferenceInformationFromUri(Address uri) |
Retrieve the conference information linked to the provided URI if any.
|
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,
boolean encrypted) |
Deprecated.
|
Account |
getAccountByIdkey(java.lang.String idkey) |
Search for a
Account by it's idkey. |
AccountCreatorBackend |
getAccountCreatorBackend() |
Get the
AccountCreator backend set for the Core . |
java.lang.String |
getAccountCreatorUrl() |
Get the
AccountCreator url on the Core . |
Account[] |
getAccountList() |
Returns an unmodifiable list of entered accounts.
|
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 . |
int |
getAutoIterateBackgroundSchedule() |
Gets the timer used to schedule the call to core.iterate() method when in
background (Android only). |
int |
getAutoIterateForegroundSchedule() |
Gets the timer used to schedule the call to core.iterate() method when in
foreground (Android only). |
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() |
Deprecated.
07/12/2021
|
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.
|
boolean |
getChatMessagesAggregationEnabled() |
Returns whether chat messages grouping is enabled or not.
|
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.
|
ConferenceInfo[] |
getConferenceInformationList() |
Retrieve the list of conference information on DB.
|
ConferenceInfo[] |
getConferenceInformationListAfterTime(long time) |
Retrieve the list of conference information on DB after a certain time.
|
float |
getConferenceLocalInputVolume() |
Get the set input volume of the local participant.
|
ConferenceParticipantListType |
getConferenceParticipantListType() |
Tells whether the default conference participant list is open or closed.
|
int |
getConferenceSize() |
Deprecated.
16/04/2021 Use
Conference.getParticipantCount() instead. |
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. |
Account |
getDefaultAccount() |
Returns the default account, that is the one used to determine the current
identity. |
ConferenceLayout |
getDefaultConferenceLayout() |
Gets the default conference layout core the linphone core.
|
long |
getDefaultEphemeralLifetime() |
Gets the default lifetime of ephemeral messages in seconds core the linphone
core. |
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.
|
DigestAuthenticationPolicy |
getDigestAuthenticationPolicy() |
Get the current digest authentication policy applicable for SIP and HTTP.
|
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.
|
int |
getEchoCancellationCalibration() |
Gets the currently stored calibration delay for the software echo cancellation.
|
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. |
ConferenceInfo[] |
getFutureConferenceInformationList() |
Retrieve the list of future conference information on DB.
|
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.
|
Ldap[] |
getLdapList() |
Returns a list of entered LDAPs.
|
java.lang.String |
getLimeX3DhServerUrl() |
Deprecated.
26/08/2022 Use
AccountParams.getLimeServerUrl() 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() |
Deprecated.
12/10/2022
|
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) ). |
boolean |
getPostQuantumAvailable() |
Are PostQuantum algoritms available.
|
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. |
PushNotificationConfig |
getPushNotificationConfig() |
Gets the push notification configuration object if it exists.
|
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)
|
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 |
getSrtpCryptoSuites() |
Get the crypto suites available to the core.
|
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. |
SupportLevel |
getTag100RelSupportLevel() |
Get the support level of the 100rel attribute.
|
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.
|
ZrtpKeyAgreement[] |
getZrtpAvailableKeyAgreementList() |
Return the list of the available ZRTP key agreement algorithns.
|
ZrtpKeyAgreement[] |
getZrtpKeyAgreementList() |
Return the ordonated list of the ZRTP key agreement algorithns currently
configured. |
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) |
Deprecated.
on 18/07/2022, use
interpretUrl(java.lang.String, boolean) instead. |
Address |
interpretUrl(java.lang.String url,
boolean applyInternationalPrefix) |
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 Factory.createAddress(java.lang.String) , or created byinterpretUrl(java.lang.String, boolean) . |
Call |
inviteAddressWithParams(Address addr,
CallParams params) |
Initiates an outgoing call given a destination
Address The Address can be constructed directly using Factory.createAddress(java.lang.String) , or created byinterpretUrl(java.lang.String, boolean) . |
Call |
inviteAddressWithParams(Address addr,
CallParams params,
java.lang.String subject,
Content content) |
Initiates an outgoing call given a destination
Address The Address can be constructed directly using Factory.createAddress(java.lang.String) , or created byinterpretUrl(java.lang.String, boolean) . |
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 |
isAdaptiveRateControlEnabled() |
Returns whether adaptive rate control is enabled.
|
boolean |
isAudioAdaptiveJittcompEnabled() |
Tells whether the audio adaptive jitter compensation is enabled.
|
boolean |
isAudioMulticastEnabled() |
Use to get multicast state of audio stream.
|
boolean |
isAutoDownloadIcalendarsEnabled() |
Gets if the auto download for incoming icalendars is enabled or not.
|
boolean |
isAutoDownloadVoiceRecordingsEnabled() |
Gets if the auto download for incoming voice recordings is enabled or not.
|
boolean |
isAutoIterateEnabled() |
Gets whether auto iterate is enabled or not (Android & iOS only).
|
boolean |
isAutomaticHttpProxyDetectionEnabled() |
Returns whether automatic http proxy is enabled.
|
boolean |
isAutoSendRingingEnabled() |
Gets if the automatic sending of 180 Ringing is enabled or not.
|
boolean |
isCallkitEnabled() |
Special function to check if the callkit is enabled, False by default.
|
boolean |
isCallToneIndicationsEnabled() |
Check whether tone indications of calls are enabled.
|
boolean |
isCapabilityNegociationEnabled() |
Check if the capability negotiation (RFC5939) is supported or not.
|
boolean |
isCapabilityNegotiationReinviteEnabled() |
Check if the capability negotiation (RFC5939) reINVITE is enabled or not.
|
boolean |
isChatEnabled() |
Returns whether chat is enabled.
|
boolean |
isConferenceIcsInMessageBodyEnabled() |
Gets wether conference invitations will be sent in the chat message body or as
a file attachment. |
boolean |
isConferenceServerEnabled() |
Tells whether the conference server feature is enabled.
|
boolean |
isContentTypeSupported(java.lang.String contentType) |
Tells whether a content type is supported.
|
boolean |
isDnsSearchEnabled() |
Tells whether DNS search (use of local domain if the fully qualified name did
return results) is enabled. |
boolean |
isDnsSrvEnabled() |
Tells whether DNS SRV resolution is enabled.
|
boolean |
isEchoCancellationEnabled() |
Returns true if echo cancellation is enabled.
|
boolean |
isEchoCancellerCalibrationRequired() |
Check whether the device is echo canceller calibration is required.
|
boolean |
isEchoLimiterEnabled() |
Tells whether echo limiter is enabled.
|
boolean |
isForcedIceRelayEnabled() |
Indicates whether the ICE relay path is forcibly selected.
|
boolean |
isFriendListSubscriptionEnabled() |
Returns whether or not friend lists subscription are enabled.
|
boolean |
isGenericComfortNoiseEnabled() |
Returns enablement of RFC3389 generic comfort noise algorithm.
|
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() |
Deprecated.
09/03/2021 Use
Conference.isIn() instead. |
boolean |
isIpv6Enabled() |
Tells whether IPv6 is enabled or not.
|
boolean |
isKeepAliveEnabled() |
Is signaling keep alive enabled.
|
boolean |
isLimeX3DhEnabled() |
Tells wether LIME X3DH is enabled or not.
|
boolean |
isLocalPermissionEnabled() |
Special function to check if the local network permission has been granted by
the user (useful for iOS). |
boolean |
isMediaEncryptionMandatory() |
Check if the configured media encryption is mandatory or not.
|
boolean |
isMediaEncryptionSupported(MediaEncryption menc) |
Check if media encryption is supported.
|
boolean |
isMediaFilterSupported(java.lang.String filtername) |
Checks if the given media filter is loaded and usable.
|
boolean |
isMicEnabled() |
Tells whether the microphone is enabled.
|
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 |
isQrcodeVideoPreviewEnabled() |
Tells whether QRCode is enabled in the preview.
|
boolean |
isRealtimeTextEnabled() |
Gets if realtime text is enabled or not.
|
boolean |
isRecordAwareEnabled() |
Gets if the record aware feature is enabled or not.
|
boolean |
isRetransmissionOnNackEnabled() |
Tells whether NACK context is enabled or not.
|
boolean |
isRtpBundleEnabled() |
Returns whether RTP bundle mode (also known as Media Multiplexing) is enabled.
|
boolean |
isSdp200AckEnabled() |
Media offer control param for SIP INVITE.
|
boolean |
isSelfViewEnabled() |
Tells whether video self view during call is enabled or not.
|
boolean |
isSenderNameHiddenInForwardMessage() |
Returns whether or not sender name is hidden in forward message.
|
boolean |
isSessionExpiresEnabled() |
Check if the Session Timers feature is enabled.
|
boolean |
isTcapLinesMergingEnabled() |
Check if tcap lines are going to the merged if the capability negotiation
(RFC5939) is supported or not. |
boolean |
isVerifyServerCertificates() |
Get whether the tls server certificate must be verified when connecting to a
SIP/TLS server. |
boolean |
isVerifyServerCn() |
Get whether the tls server certificate common name must be verified when
connecting to a SIP/TLS server. |
boolean |
isVibrationOnIncomingCallEnabled() |
Gets whether the device will vibrate while an incoming call is ringing (Android
only). |
boolean |
isVideoAdaptiveJittcompEnabled() |
Tells whether the video adaptive jitter compensation is enabled.
|
boolean |
isVideoCaptureEnabled() |
Tells whether video capture is enabled.
|
boolean |
isVideoDisplayEnabled() |
Tells whether video display is enabled.
|
boolean |
isVideoEnabled() |
Returns true if either capture or display is enabled, false otherwise.
|
boolean |
isVideoMulticastEnabled() |
Use to get multicast state of video stream.
|
boolean |
isVideoPreviewEnabled() |
Tells whether video preview is enabled.
|
boolean |
isWifiOnlyEnabled() |
Tells whether Wifi only mode is enabled or not.
|
boolean |
isZeroRtpPortForStreamInactiveEnabled() |
Check if RTP port is set to 0 when a stream is inactive.
|
boolean |
isZrtpGoClearEnabled() |
Check if the ZRTP go clear is enabled or not.
|
void |
iterate() |
Main loop function.
|
boolean |
ldapAvailable() |
Tells if LDAP is available.
|
int |
leaveConference() |
Deprecated.
09/03/2021 Use
Conference.leave() instead. |
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.
|
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.
|
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.
|
void |
processPushNotification(java.lang.String callId) |
Call this method when you receive a push notification (if you handle push
notifications manually). |
Event |
publish(Address resource,
java.lang.String event,
int expires,
Content body) |
Publish an event state.
|
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 |
removeAccount(Account account) |
Removes an account.
|
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 |
removeLdap(Ldap ldap) |
Remove a LDAP from the configuration.
|
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 |
resetEchoCancellationCalibration() |
Clears all state resulting from a previous echo canceller calibration
procedure, which restores default policy and settings for echo cancellation. |
void |
resetLogCollection() |
Reset the log collection by removing the log files.
|
void |
resetMissedCallsCount() |
Reset the counter of missed calls.
|
ChatRoom |
searchChatRoom(ChatRoomParams params,
Address localAddr,
Address remoteAddr,
Address[] participants) |
Find a chat room.
|
Conference |
searchConference(Address conferenceAddr) |
Find a conference.
|
Conference |
searchConference(ConferenceParams params,
Address localAddr,
Address remoteAddr,
Address[] participants) |
Find a conference.
|
void |
serializeLogs() |
Enable logs serialization (output logs from either the thread that creates the
linphone core or the thread that calls iterate() ). |
void |
setAccountCreatorBackend(AccountCreatorBackend backend) |
Set the
AccountCreator backend on the Core . |
void |
setAccountCreatorUrl(java.lang.String url) |
Set the
AccountCreator url on the Core . |
void |
setAdaptiveRateAlgorithm(java.lang.String algorithm) |
Sets adaptive rate algorithm.
|
void |
setAdaptiveRateControlEnabled(boolean enabled) |
Enable adaptive rate control.
|
void |
setAudioAdaptiveJittcompEnabled(boolean enable) |
Enable or disable the audio adaptive jitter compensation.
|
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.
|
void |
setAudioMulticastEnabled(boolean yesno) |
Use to enable multicast rtp 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 |
setAutoDownloadIcalendarsEnabled(boolean autoDownloadIcalendars) |
Auto download files attach to a chat message if it's content type matches the
one we use for icalendars. |
void |
setAutoDownloadVoiceRecordingsEnabled(boolean autoDownloadVoiceRecordings) |
Auto download files attach to a chat message if it's content type matches the
one we use for voice recordings. |
void |
setAutoIterateBackgroundSchedule(int schedule) |
Sets the timer used to schedule the call to core.iterate() method when in
background (Android only). |
void |
setAutoIterateEnabled(boolean enable) |
Enable or disable the automatic schedule of
iterate() method on Android& iOS. |
void |
setAutoIterateForegroundSchedule(int schedule) |
Sets the timer used to schedule the call to core.iterate() method when in
foreground (Android only). |
void |
setAutomaticHttpProxyDetectionEnabled(boolean enable) |
Enables or disables automatic http proxy detection.
|
void |
setAutoSendRingingEnabled(boolean enable) |
Enables the automatic sending of 180 Ringing when receiving a call.
|
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 |
setCallkitEnabled(boolean enabled) |
Special function to enable the callkit.
|
void |
setCallLogsDatabasePath(java.lang.String path) |
Deprecated.
07/12/2021: Use only for migration purposes
|
void |
setCallToneIndicationsEnabled(boolean yesno) |
Enables or disables call tone indications.
|
void |
setCapabilityNegociationEnabled(boolean enable) |
Define whether capability negotiation (RFC5939) is supported.
|
void |
setCapabilityNegotiationReinviteEnabled(boolean enable) |
Define whether capability negotiation (RFC5939) reINVITE is enabled.
|
int |
setCaptureDevice(java.lang.String devid) |
Sets the sound device used for capture.
|
void |
setChatMessagesAggregationEnabled(boolean enabled) |
Sets whether chat messages grouping is enabled or not.
|
void |
setConferenceIcsInMessageBodyEnabled(boolean enable) |
Enable sending conference invitations in the chat message body instead of as a
file attachment. |
void |
setConferenceParticipantListType(ConferenceParticipantListType type) |
Select whether the default conference participant list is open or closed.
|
void |
setConferenceServerEnabled(boolean enable) |
Enable the conference server feature.
|
void |
setConsolidatedPresence(ConsolidatedPresence presence) |
Set my consolidated presence.
|
void |
setDefaultAccount(Account account) |
Sets the default account.
|
void |
setDefaultConferenceLayout(ConferenceLayout value) |
Set the default conference layout.
|
void |
setDefaultEphemeralLifetime(long value) |
Set the default ephemeral lifetime in seconds.
|
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 |
setDigestAuthenticationPolicy(DigestAuthenticationPolicy policy) |
Setup a new digest authentication policy applicable for SIP and HTTP.
|
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 |
setDnsSearchEnabled(boolean enable) |
Enable or disable DNS search (use of local domain if the fully qualified name
did return results). |
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 |
setDnsSrvEnabled(boolean enable) |
Enable or disable DNS SRV resolution.
|
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 |
setEchoCancellationEnabled(boolean enable) |
Enables or disable echo cancellation.
|
void |
setEchoCancellerFilterName(java.lang.String filtername) |
Set the name of the mediastreamer2 filter to be used for echo cancelling.
|
void |
setEchoLimiterEnabled(boolean enable) |
Enables or disable echo limiter.
|
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 |
setForcedIceRelayEnabled(boolean enable) |
Artificially cause the relay path to be selected when ICE is used.
|
void |
setFriendListSubscriptionEnabled(boolean enable) |
Sets whether or not to start friend lists subscription when in foreground.
|
void |
setFriendsDatabasePath(java.lang.String path) |
Sets the database filename where friends will be stored.
|
void |
setGenericComfortNoiseEnabled(boolean enabled) |
Enable RFC3389 generic comfort noise algorithm (CN payload type).
|
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 |
setIpv6Enabled(boolean enable) |
Turns IPv6 support on or off.
|
void |
setKeepAliveEnabled(boolean enable) |
Enables signaling keep alive, small udp packet sent periodically to keep udp
NAT association. |
void |
setLimeX3DhEnabled(boolean enable) |
Tells to LinphoneCore to use LIME X3DH.
|
void |
setLimeX3DhServerUrl(java.lang.String url) |
Deprecated.
26/08/2022 Use
AccountParams.setLimeServerUrl(java.lang.String) 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 |
setMicEnabled(boolean enable) |
Enable or disable the microphone.
|
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) |
Deprecated.
12/10/2022
|
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.
|
void |
setPreviewVideoDefinitionByName(java.lang.String name) |
|
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 |
setQrcodeVideoPreviewEnabled(boolean enable) |
Controls QRCode enablement.
|
void |
setRecordAwareEnabled(boolean enable) |
Enables the record aware feature that will warn other users when recording.
|
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 |
setRetransmissionOnNackEnabled(boolean enable) |
Turns NACK context on or off.
|
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 |
setRtpBundleEnabled(boolean value) |
Enables or disables RTP bundle mode (Media Multiplexing).
|
void |
setSdp200AckEnabled(boolean enable) |
Control when media offer is sent in SIP INVITE.
|
void |
setSelfViewEnabled(boolean enable) |
Enables or disable self view during calls.
|
void |
setSenderNameHiddenInForwardMessageEnabled(boolean enable) |
Enable whether or not to hide sender name in forward message.
|
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.
|
void |
setSrtpCryptoSuites(java.lang.String suites) |
Set the crypto suites available to the core.
|
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 |
setTag100RelSupportLevel(SupportLevel level) |
Define what level of support is provided to the 100rel attribute.
|
void |
setTcapLineMergingEnabled(boolean merge) |
Define whether tcap lines are going to be merged if capability negotiation
(RFC5939) is supported. |
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.
|
void |
setVideoAdaptiveJittcompEnabled(boolean enable) |
Enable or disable the video adaptive jitter compensation.
|
void |
setVideoCaptureEnabled(boolean enable) |
Enable or disable video capture.
|
int |
setVideoDevice(java.lang.String id) |
Sets the active video device.
|
void |
setVideoDisplayEnabled(boolean enable) |
Enable or disable video display.
|
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.
|
void |
setVideoMulticastEnabled(boolean yesno) |
Use to enable multicast rtp 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 |
setVideoPreviewEnabled(boolean enable) |
Controls video preview enablement.
|
void |
setVideoSourceReuseEnabled(boolean enable) |
Enable or disable video source reuse when switching from preview to actual
video call. |
void |
setWifiOnlyEnabled(boolean enable) |
Turns Wifi only mode on or off.
|
void |
setZeroRtpPortForStreamInactiveEnabled(boolean enable) |
Define whether RTP port is set to 0 when a stream is inactive.
|
void |
setZrtpGoClearEnabled(boolean enabled) |
Define whether ZRTP go clear is enabled.
|
void |
setZrtpKeyAgreementSuites(ZrtpKeyAgreement[] keyAgreements) |
Redefine the list of prefered ZRTP key agreement algorithms.
|
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) |
Deprecated.
14/09/2021 Use
Conference.startRecording(java.lang.String) instead. |
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() |
Deprecated.
14/09/2021 Use
Conference.stopRecording() instead. |
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 |
videoSupported() |
Test if video is supported.
|
Factory getMediastreamerFactory()
AccountCreatorBackend getAccountCreatorBackend()
AccountCreatorBackend
void setAccountCreatorBackend(AccountCreatorBackend backend)
backend
- The AccountCreatorBackend
@Nullable java.lang.String getAccountCreatorUrl()
void setAccountCreatorUrl(@Nullable java.lang.String url)
url
- The URL to reach @NonNull Account[] getAccountList()
@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 isAdaptiveRateControlEnabled()
#enableAdaptiveRateControl
void setAdaptiveRateControlEnabled(boolean enabled)
enabled
- true to enable adaptive rate control, false otherwise boolean isAudioAdaptiveJittcompEnabled()
void setAudioAdaptiveJittcompEnabled(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 isAudioMulticastEnabled()
setAudioMulticastAddr(java.lang.String)
void setAudioMulticastEnabled(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 boolean isAutoDownloadIcalendarsEnabled()
void setAutoDownloadIcalendarsEnabled(boolean autoDownloadIcalendars)
autoDownloadIcalendars
- true to automatically download incomingboolean isAutoDownloadVoiceRecordingsEnabled()
void setAutoDownloadVoiceRecordingsEnabled(boolean autoDownloadVoiceRecordings)
autoDownloadVoiceRecordings
- true to automatically download incomingint getAutoIterateBackgroundSchedule()
#autoIterateEnabled
returns true. void setAutoIterateBackgroundSchedule(int schedule)
schedule
- The timing in milliseconds used to schedule the call while inboolean isAutoIterateEnabled()
iterate()
is scheduled automatically, false otherwise 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 int getAutoIterateForegroundSchedule()
#autoIterateEnabled
returns true. void setAutoIterateForegroundSchedule(int schedule)
schedule
- The timing in milliseconds used to schedule the call while inboolean isAutoSendRingingEnabled()
void setAutoSendRingingEnabled(boolean enable)
enable
- true to activate the automatic 180 Ringing, false to disable it. boolean isAutomaticHttpProxyDetectionEnabled()
void setAutomaticHttpProxyDetectionEnabled(boolean enable)
enable
- true if automatic http proxy is enabled or false. 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
. @Deprecated @Nullable java.lang.String getCallLogsDatabasePath()
@Deprecated void setCallLogsDatabasePath(@Nullable java.lang.String path)
path
- filesystem path boolean isCallToneIndicationsEnabled()
void setCallToneIndicationsEnabled(boolean yesno)
CallParams
. boolean isCallkitEnabled()
void setCallkitEnabled(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()
boolean isCapabilityNegociationEnabled()
void setCapabilityNegociationEnabled(boolean enable)
boolean isCapabilityNegotiationReinviteEnabled()
void setCapabilityNegotiationReinviteEnabled(boolean enable)
enable
- true to enable capability negotiation reINVITE; false otherwise. @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 isChatEnabled()
boolean getChatMessagesAggregationEnabled()
void setChatMessagesAggregationEnabled(boolean enabled)
enabled
- true to wait for chat messages and notify them as at once, false@NonNull ChatRoom[] getChatRooms()
@Nullable Conference getConference()
Conference
or null if no conference are going on. boolean isConferenceIcsInMessageBodyEnabled()
void setConferenceIcsInMessageBodyEnabled(boolean enable)
enable
- true to send ICS as message body, false to send it as file@NonNull ConferenceInfo[] getConferenceInformationList()
float getConferenceLocalInputVolume()
ConferenceParticipantListType getConferenceParticipantListType()
ConferenceParticipantListType
participant list type void setConferenceParticipantListType(ConferenceParticipantListType type)
type
- A ConferenceParticipantListType
participant list type boolean isConferenceServerEnabled()
void setConferenceServerEnabled(boolean enable)
enable
- A boolean value telling whether to enable or disable the@Deprecated int getConferenceSize()
Conference.getParticipantCount()
instead. @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 Account getDefaultAccount()
void setDefaultAccount(@Nullable Account account)
Core
use the identityaccount
- The account to use as the default one. ConferenceLayout getDefaultConferenceLayout()
void setDefaultConferenceLayout(ConferenceLayout value)
value
- layout long getDefaultEphemeralLifetime()
void setDefaultEphemeralLifetime(long value)
value
- lifetime of ephemeral messages in seconds @Nullable FriendList getDefaultFriendList()
FriendList
object or null. @Nullable AudioDevice getDefaultInputAudioDevice()
void setDefaultInputAudioDevice(@Nullable AudioDevice audioDevice)
audioDevice
- The AudioDevice
@Nullable AudioDevice getDefaultOutputAudioDevice()
void setDefaultOutputAudioDevice(@Nullable 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 @NonNull DigestAuthenticationPolicy getDigestAuthenticationPolicy()
void setDigestAuthenticationPolicy(@NonNull DigestAuthenticationPolicy policy)
policy
- a DigestAuthenticationPolicy
boolean getDisableRecordOnMute()
setDisableRecordOnMute(boolean)
.void setDisableRecordOnMute(boolean disable)
disable
- True if you wish to entirely stop the audio recording whenboolean isDnsSearchEnabled()
void setDnsSearchEnabled(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 isDnsSrvEnabled()
void setDnsSrvEnabled(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 int getEchoCancellationCalibration()
startEchoCancellerCalibration()
. boolean isEchoCancellationEnabled()
void setEchoCancellationEnabled(boolean enable)
@Nullable java.lang.String getEchoCancellerFilterName()
void setEchoCancellerFilterName(@Nullable java.lang.String filtername)
filtername
- The name of the mediastreamer2 filter to be used for echoboolean isEchoLimiterEnabled()
void setEchoLimiterEnabled(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 isForcedIceRelayEnabled()
#enableForcedIceRelay
. void setForcedIceRelayEnabled(boolean enable)
enable
- boolean value boolean isFriendListSubscriptionEnabled()
void setFriendListSubscriptionEnabled(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 ConferenceInfo[] getFutureConferenceInformationList()
boolean isGenericComfortNoiseEnabled()
void setGenericComfortNoiseEnabled(boolean enabled)
enabled
- true if enabled, false otherwise. @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 isIpv6Enabled()
#enableIpv6
for more details on how IPv6 is supported invoid setIpv6Enabled(boolean enable)
enable
- A boolean value telling whether to enable IPv6 support boolean isEchoCancellerCalibrationRequired()
boolean isInBackground()
enterBackground()
enterForeground()
. @return true if the Core is in background, false@Deprecated boolean isInConference()
Conference.isIn()
instead. Conference.removeParticipant(org.linphone.core.Address)
boolean isIncomingInvitePending()
boolean isMediaEncryptionMandatory()
boolean isNetworkReachable()
boolean isPushNotificationAvailable()
boolean isSenderNameHiddenInForwardMessage()
boolean isVerifyServerCertificates()
boolean isVerifyServerCn()
boolean isKeepAliveEnabled()
void setKeepAliveEnabled(boolean enable)
enable
- A boolean value telling whether signaling keep alive is to be@Nullable CallLog getLastOutgoingCallLog()
@NonNull Ldap[] getLdapList()
boolean isLimeX3DhEnabled()
void setLimeX3DhEnabled(boolean enable)
enable
- A boolean value telling whether to enable or disable LIME X3DH @Deprecated @Nullable java.lang.String getLimeX3DhServerUrl()
AccountParams.getLimeServerUrl()
instead. @Deprecated void setLimeX3DhServerUrl(@Nullable java.lang.String url)
AccountParams.setLimeServerUrl(java.lang.String)
instead. url
- The x3dh server url. @NonNull java.lang.String[] getLinphoneSpecsList()
void setLinphoneSpecsList(@Nullable java.lang.String[] specs)
specs
- The list of string specs to set. boolean isLocalPermissionEnabled()
@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 isMicEnabled()
void setMicEnabled(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 @Deprecated @Nullable java.lang.String getNatAddress()
@Deprecated void setNatAddress(@Nullable java.lang.String addr)
addr
- The public IP address of NAT to use. @Nullable NatPolicy getNatPolicy()
NatPolicy
object in use. AccountParams.getNatPolicy()
void setNatPolicy(@Nullable NatPolicy policy)
policy
- NatPolicy
object AccountParams.setNatPolicy(org.linphone.core.NatPolicy)
@Nullable java.lang.Object getNativePreviewWindowId()
setNativeVideoWindowId(java.lang.Object)
for details about window_idgetNativePreviewWindowId()
returns avoid setNativePreviewWindowId(@Nullable java.lang.Object windowId)
usePreviewWindow(boolean)
. see setNativeVideoWindowId(java.lang.Object)
setNativePreviewWindowId(java.lang.Object)
. It is inherited from #TextureView andwindowId
- The native window id where the preview video is to beboolean isNativeRingingEnabled()
void setNativeRingingEnabled(boolean enable)
enable
- True to enable native ringing, false otherwise @Nullable java.lang.Object getNativeVideoWindowId()
getNativeVideoWindowId()
returns avoid setNativeVideoWindowId(@Nullable java.lang.Object windowId)
getNativeVideoWindowId()
returns acreateNativeVideoWindowId()
setNativeVideoWindowId(java.lang.Object)
must be calledwindowId
- 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 void setPreviewVideoDefinitionByName(@NonNull java.lang.String name)
name
- The name of the definition to set @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 @Nullable PushNotificationConfig getPushNotificationConfig()
PushNotificationConfig
if it exists, null otherwise. boolean isPushNotificationEnabled()
void setPushNotificationEnabled(boolean enable)
enable
- true to enable push notifications, false to disable boolean isQrcodeVideoPreviewEnabled()
void setQrcodeVideoPreviewEnabled(boolean enable)
enable
- A boolean value telling whether the QRCode is enabled in theboolean isRealtimeTextEnabled()
boolean isRecordAwareEnabled()
void setRecordAwareEnabled(boolean enable)
enable
- true to activate the record aware feature, false to disable it. @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 isRetransmissionOnNackEnabled()
void setRetransmissionOnNackEnabled(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 isRtpBundleEnabled()
void setRtpBundleEnabled(boolean value)
CallParams
value
- a boolean to indicate whether the feature is to be enabled. boolean isSdp200AckEnabled()
void setSdp200AckEnabled(boolean enable)
enable
- true if INVITE has to be sent whitout SDP. boolean isSelfViewEnabled()
#enableSelfView
for details. void setSelfViewEnabled(boolean enable)
enable
- A boolean value telling whether to enable self view Self-viewvoid setSenderNameHiddenInForwardMessageEnabled(boolean enable)
enable
- whether or not to enable the feature boolean isSessionExpiresEnabled()
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.@NonNull java.lang.String getSrtpCryptoSuites()
void setSrtpCryptoSuites(@NonNull java.lang.String suites)
suites
- comma separated list of supported suites @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)
SupportLevel getTag100RelSupportLevel()
void setTag100RelSupportLevel(SupportLevel level)
level
- support level of 100rel void setTcapLineMergingEnabled(boolean merge)
merge
- true to merge tcap lines with consecutive indexes; falseboolean isTcapLinesMergingEnabled()
@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. boolean isVibrationOnIncomingCallEnabled()
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 isVideoAdaptiveJittcompEnabled()
void setVideoAdaptiveJittcompEnabled(boolean enable)
enable
- true to enable the video adaptive jitter compensation, false toboolean isVideoCaptureEnabled()
void setVideoCaptureEnabled(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 isVideoDisplayEnabled()
void setVideoDisplayEnabled(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 isVideoEnabled()
#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 isVideoMulticastEnabled()
setVideoMulticastAddr(java.lang.String)
void setVideoMulticastEnabled(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 isVideoPreviewEnabled()
void setVideoPreviewEnabled(boolean enable)
enable
- A boolean value telling whether the video preview is to be shownvoid setVideoSourceReuseEnabled(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 isWifiOnlyEnabled()
void setWifiOnlyEnabled(boolean enable)
enable
- A boolean value telling whether to enable IPv6 support boolean isZeroRtpPortForStreamInactiveEnabled()
void setZeroRtpPortForStreamInactiveEnabled(boolean enable)
enable
- true to set the RTP port to 0 if the stream direction is@NonNull ZrtpKeyAgreement[] getZrtpAvailableKeyAgreementList()
boolean isZrtpGoClearEnabled()
void setZrtpGoClearEnabled(boolean enabled)
@NonNull ZrtpKeyAgreement[] getZrtpKeyAgreementList()
void setZrtpKeyAgreementSuites(@Nullable ZrtpKeyAgreement[] keyAgreements)
keyAgreements
- The new list of key agreements algorithms, in order of@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 addAccount(@NonNull Account account)
account
- the Account
to add 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 addLdap(@NonNull Ldap ldap)
ldap
- The LDAP to add/update. 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()
ChatRoomEphemeralMode chatRoomGetDefaultEphemeralMode()
ChatRoomEphemeralMode
void chatRoomSetDefaultEphemeralMode(ChatRoomEphemeralMode mode)
mode
- default ephemeral message mode ChatRoomEphemeralMode
void checkForUpdate(@NonNull java.lang.String currentVersion)
currentVersion
- The current version of the application void clearAccounts()
void clearAllAuthInfo()
void clearCallLogs()
void clearLdaps()
void clearProxyConfig()
int configSync()
void configureAudioSession()
@NonNull Account createAccount(@NonNull AccountParams params)
params
- AccountParams
object Account
with default values set @NonNull AccountCreator createAccountCreator(@Nullable java.lang.String xmlrpcUrl)
xmlrpcUrl
- The URL to the XML-RPC server. AccountCreator
object. @NonNull AccountParams createAccountParams()
AccountParams
with default values set @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 ChatRoomParams params, @NonNull Address localAddr, @NonNull java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, java.lang.String, 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 @Nullable ChatRoom createChatRoom(@NonNull 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 ChatRoomParams params, @NonNull Address localAddr, @NonNull Address participant)
createChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, java.lang.String, 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 java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, java.lang.String, 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 createChatRoom(@NonNull Address participant)
createChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, java.lang.String, org.linphone.core.Address[])
insteadparticipant
- Address
representing the initial participant to add@Deprecated @Nullable ChatRoom createChatRoom(@NonNull ChatRoomParams params, java.lang.String subject, @NonNull Address[] participants)
createChatRoom(org.linphone.core.ChatRoomParams, org.linphone.core.Address, java.lang.String, org.linphone.core.Address[])
insteadparams
- The chat room creation parameters ChatRoomParams
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.ChatRoomParams, org.linphone.core.Address, java.lang.String, 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.ChatRoomParams, org.linphone.core.Address, java.lang.String, 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(@Nullable Conference conference)
createConferenceWithParams(org.linphone.core.ConferenceParams)
. conference
- Conference
for which the parameters are to be build,ConferenceParams
object. @NonNull ConferenceScheduler createConferenceScheduler()
ConferenceScheduler
. @Nullable Conference createConferenceWithParams(@NonNull ConferenceParams params)
ConferenceParams.setConferenceFactoryAddress(org.linphone.core.Address)
for moreparams
- Parameters of the conference. See ConferenceParams
. Conference
. ThatterminateConference()
@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@NonNull Ldap createLdap()
Ldap.setParams(org.linphone.core.LdapParams)
must be call to save the parameters in the configurationLdap
with default values set @NonNull LdapParams createLdapParams()
Ldap.setParams(org.linphone.core.LdapParams)
.createLdap()
.LdapParams
with default values set. @NonNull Ldap createLdapWithParams(@NonNull LdapParams params)
params
- LdapParams
object Ldap
with default values set @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 java.lang.Object createNativePreviewWindowId()
setNativeVideoWindowId(java.lang.Object)
for details about window_idcreateNativePreviewWindowId()
setNativePreviewWindowId(java.lang.Object)
@Nullable java.lang.Object createNativeVideoWindowId()
setNativeVideoWindowId(java.lang.Object)
for details about window_idcreateNativeVideoWindowId()
returnssetNativeVideoWindowId(java.lang.Object)
@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 Recorder createRecorder(@NonNull RecorderParams params)
params
- The RecorderParams
that will contains all recorder@NonNull RecorderParams createRecorderParams()
@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 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 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 deleteConferenceInformation(@NonNull ConferenceInfo conferenceInfo)
conferenceInfo
- the ConferenceInfo
to delete. void didRegisterForRemotePush(@Nullable java.lang.Object deviceToken)
deviceToken
- (NSData *). void didRegisterForRemotePushWithStringifiedToken(@Nullable java.lang.String deviceTokenStr)
deviceTokenStr
- extracted from the Data objectf received invoid 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 state@Deprecated void ensureRegistered()
processPushNotification(java.lang.String)
instead. void enterBackground()
@Deprecated int enterConference()
Conference.enter()
instead. 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 if no match is found. @Nullable CallLog findCallLog(@NonNull java.lang.String callId, @NonNull int limit)
callId
- Call id of the call log to find limit
- Search limit of the most recent call logs to find @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. @Nullable ConferenceInfo findConferenceInformationFromUri(@NonNull Address uri)
uri
- Address
of the uri. ConferenceInfo
found if any, null otherwise. @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. @Nullable Account getAccountByIdkey(@Nullable java.lang.String idkey)
idkey
- An arbitrary idkey string associated to an account. Account
object for the given idkey value, or null if none@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 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 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 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. @NonNull ConferenceInfo[] getConferenceInformationListAfterTime(long time)
time
- Time to retrieve conference info. @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, boolean applyInternationalPrefix)
Address
from the given string if possible. ProxyConfig.normalizeSipUri(java.lang.String)
for documentation. url
- the url to parse applyInternationalPrefix
- whether or not to try to format url as phoneAddress
matching the url or null in case of failure. @Deprecated @Nullable Address interpretUrl(@NonNull java.lang.String url)
interpretUrl(java.lang.String, boolean)
instead. 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
Factory.createAddress(java.lang.String)
, or created byinterpretUrl(java.lang.String, boolean)
. 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
Factory.createAddress(java.lang.String)
, or created byinterpretUrl(java.lang.String, boolean)
. 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 inviteAddressWithParams(@NonNull Address addr, @NonNull CallParams params, @Nullable java.lang.String subject, @Nullable Content content)
Address
The Address
Factory.createAddress(java.lang.String)
, or created byinterpretUrl(java.lang.String, boolean)
. Call
object.Call
pointer valid within youraddr
- The destination of the call (sip address). params
- Call parameters subject
- Subject of the call content
- Body of the SIP INVITE 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 isMediaEncryptionSupported(MediaEncryption menc)
menc
- The media encryption policy to be used. boolean isMediaFilterSupported(@NonNull java.lang.String filtername)
filtername
- the filter name void iterate()
iterate()
performs various backgrounds tasks:boolean ldapAvailable()
@Deprecated int leaveConference()
Conference.leave()
instead. @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()
void processPushNotification(@Nullable java.lang.String callId)
callId
- the Call-ID of the MESSAGE or INVITE for which the push was@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 removeAccount(@NonNull Account account)
Core
will then automatically unregister and place the account on aaccount
- the Account
to remove 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 removeLdap(@NonNull Ldap ldap)
ldap
- The LDAP to remove. void 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 resetEchoCancellationCalibration()
#enableEchoCancellation
and startEchoCancellerCalibration()
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 to@Nullable Conference searchConference(@Nullable ConferenceParams params, @Nullable Address localAddr, @Nullable Address remoteAddr, @Nullable Address[] participants)
params
- The conference parameters to match ConferenceParams
orlocalAddr
- Address
representing the local proxy configuration orremoteAddr
- Address
to search for or null participants
- The participants that must be present in the chat room toConference
satisfying the non-null function@Nullable Conference searchConference(@NonNull Address conferenceAddr)
conferenceAddr
- Address
representing the conference address Conference
whose conference address is the onevoid 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 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, @Nullable java.lang.String audiofile)
toneId
- the #LinphoneToneId audiofile
- a wav file to be played or null to disable it. 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 will@Deprecated int startConferenceRecording(@NonNull java.lang.String path)
Conference.startRecording(java.lang.String)
instead. 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()
.@Deprecated int stopConferenceRecording()
Conference.stopRecording()
instead. 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()
boolean getPostQuantumAvailable()
@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)
enableLogCollection(org.linphone.core.LogCollectionState)
path
- The path where the log files will be written. void setLogCollectionPrefix(@NonNull java.lang.String prefix)
enableLogCollection(org.linphone.core.LogCollectionState)
before doing modifications. 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