Account
object instead public interface ProxyConfig
Core
. AuthInfo
that stores the credentials, you need toProxyConfig
as well to be able to connect to a proxy server.setServerAddr(java.lang.String)
Core
and be available at the next start.Core.setDefaultProxyConfig(org.linphone.core.ProxyConfig)
will be used as defaultModifier and Type | Method and Description |
---|---|
boolean |
avpfEnabled()
Deprecated.
06/04/2020 Use
Account object instead |
int |
done()
Deprecated.
06/04/2020 Use
Account object instead |
void |
edit()
Deprecated.
06/04/2020 Use
Account object instead |
void |
enablePublish(boolean enable)
Deprecated.
06/04/2020 Use
Account object instead |
void |
enableQualityReporting(boolean enable)
Deprecated.
06/04/2020 Use
Account object instead |
void |
enableRegister(boolean enable)
Deprecated.
06/04/2020 Use
Account object instead |
AuthInfo |
findAuthInfo()
Deprecated.
06/04/2020 Use
Account object instead |
AVPFMode |
getAvpfMode()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getAvpfRrInterval()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getConferenceFactoryUri()
Deprecated.
06/04/2020 Use
Account object instead |
Address |
getContact()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getContactParameters()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getContactUriParameters()
Deprecated.
06/04/2020 Use
Account object instead |
Core |
getCore()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getCustomHeader(java.lang.String headerName)
Deprecated.
06/04/2020 Use
Account object instead |
ProxyConfig |
getDependency()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
getDialEscapePlus()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getDialPrefix()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getDomain()
Deprecated.
06/04/2020 Use
Account object instead |
Reason |
getError()
Deprecated.
06/04/2020 Use
Account object instead |
ErrorInfo |
getErrorInfo()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getExpires()
Deprecated.
06/04/2020 Use
Account object instead |
Address |
getIdentityAddress()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getIdkey()
Deprecated.
06/04/2020 Use
Account object instead |
long |
getNativePointer()
Deprecated.
Gets the native pointer used by this class to make native method calls.
|
NatPolicy |
getNatPolicy()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getPrivacy()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getPublishExpires()
Deprecated.
06/04/2020 Use
Account object instead |
PushNotificationConfig |
getPushNotificationConfig()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getQualityReportingCollector()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getQualityReportingInterval()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getRealm()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getRefKey()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String[] |
getRoutes()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getServerAddr()
Deprecated.
06/04/2020 Use
Account object instead |
RegistrationState |
getState()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
getTransport()
Deprecated.
06/04/2020 Use
Account object instead |
int |
getUnreadChatMessageCount()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.Object |
getUserData()
Deprecated.
Gets the object stored in this object user's data
|
boolean |
isPushNotificationAllowed()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
isPushNotificationAvailable()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
isRemotePushNotificationAllowed()
Deprecated.
06/04/2020 Use
Account object instead |
java.lang.String |
normalizePhoneNumber(java.lang.String username)
Deprecated.
06/04/2020 Use
Account object instead |
Address |
normalizeSipUri(java.lang.String username)
Deprecated.
06/04/2020 Use
Account object instead |
void |
pauseRegister()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
publishEnabled()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
qualityReportingEnabled()
Deprecated.
06/04/2020 Use
Account object instead |
void |
refreshRegister()
Deprecated.
06/04/2020 Use
Account object instead |
boolean |
registerEnabled()
Deprecated.
06/04/2020 Use
Account object instead |
void |
setAvpfMode(AVPFMode mode)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setAvpfRrInterval(int interval)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setConferenceFactoryUri(java.lang.String uri)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setContactParameters(java.lang.String contactParams)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setContactUriParameters(java.lang.String contactUriParams)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setCustomHeader(java.lang.String headerName,
java.lang.String headerValue)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setDependency(ProxyConfig dependsOn)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setDialEscapePlus(boolean enable)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setDialPrefix(java.lang.String prefix)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setExpires(int expires)
Deprecated.
06/04/2020 Use
Account object instead |
int |
setIdentityAddress(Address identity)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setIdkey(java.lang.String idkey)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setNatPolicy(NatPolicy policy)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setPrivacy(int privacy)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setPublishExpires(int expires)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setPushNotificationAllowed(boolean allow)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setPushNotificationConfig(PushNotificationConfig pushCfg)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setQualityReportingCollector(java.lang.String collector)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setQualityReportingInterval(int interval)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setRealm(java.lang.String realm)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setRefKey(java.lang.String refkey)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setRemotePushNotificationAllowed(boolean allow)
Deprecated.
06/04/2020 Use
Account object instead |
int |
setRoute(java.lang.String route)
Deprecated.
08/07/2020 use
setRoutes(java.lang.String[]) instead |
int |
setRoutes(java.lang.String[] routes)
Deprecated.
06/04/2020 Use
Account object instead |
int |
setServerAddr(java.lang.String serverAddress)
Deprecated.
06/04/2020 Use
Account object instead |
void |
setUserData(java.lang.Object data)
Deprecated.
Sets the object to store in this object user's data
|
java.lang.String |
toString()
Deprecated.
|
@Deprecated boolean avpfEnabled()
Account
object instead @Deprecated AVPFMode getAvpfMode()
Account
object instead AVPFMode.Default
(useAVPFMode.Enabled
(avpf is enabled), or AVPFMode.Disabled
@Deprecated void setAvpfMode(AVPFMode mode)
Account
object instead mode
- the enablement mode, which can be AVPFMode.Default
(useAVPFMode.Enabled
(avpf is enabled), or AVPFMode.Disabled
@Deprecated int getAvpfRrInterval()
Account
object instead @Deprecated void setAvpfRrInterval(int interval)
Account
object instead interval
- The interval in seconds (between 0 and 5 seconds). @Deprecated @Nullable java.lang.String getConferenceFactoryUri()
Account
object instead @Deprecated void setConferenceFactoryUri(@Nullable java.lang.String uri)
Account
object instead uri
- The uri of the conference factory. @Deprecated @Nullable Address getContact()
Account
object instead Address
correspong to the contact address of the proxy@Deprecated @Nullable java.lang.String getContactParameters()
Account
object instead @Deprecated void setContactParameters(@Nullable java.lang.String contactParams)
Account
object instead contactParams
- a string contaning the additional parameters in text form,@Deprecated @Nullable java.lang.String getContactUriParameters()
Account
object instead @Deprecated void setContactUriParameters(@Nullable java.lang.String contactUriParams)
Account
object instead contactUriParams
- a string containing the additional parameters in text@Deprecated @NonNull Core getCore()
Account
object instead Core
object to which is associated the ProxyConfig
.@Deprecated @Nullable ProxyConfig getDependency()
Account
object instead @Deprecated void setDependency(@Nullable ProxyConfig dependsOn)
Account
object instead setIdkey(java.lang.String)
dependsOn
- The ProxyConfig
this one shall be depend on. @Deprecated boolean getDialEscapePlus()
Account
object instead Core.invite(java.lang.String)
). @Deprecated void setDialEscapePlus(boolean enable)
Account
object instead Core.invite(java.lang.String)
). enable
- true to replace + by the international prefix, false otherwise. @Deprecated @Nullable java.lang.String getDialPrefix()
Account
object instead @Deprecated void setDialPrefix(@Nullable java.lang.String prefix)
Account
object instead Core.invite(java.lang.String)
; This dialing prefix shall usually be the country code ofprefix
- the prefix to set (withouth the +) @Deprecated @Nullable java.lang.String getDomain()
Account
object instead @Deprecated Reason getError()
Account
object instead Reason
why registration failed for this proxy config. @Deprecated @NonNull ErrorInfo getErrorInfo()
Account
object instead ErrorInfo
explaining why registration failed for this proxy@Deprecated int getExpires()
Account
object instead @Deprecated void setExpires(int expires)
Account
object instead expires
- the expiration time to set @Deprecated @Nullable Address getIdentityAddress()
Account
object instead @Deprecated int setIdentityAddress(@Nullable Address identity)
Account
object instead identity
- the Address
of the identity to set @Deprecated @Nullable java.lang.String getIdkey()
Account
object instead @Deprecated void setIdkey(@Nullable java.lang.String idkey)
Account
object instead idkey
- The idkey string to associate to the given ProxyConfig
. @Deprecated boolean isPushNotificationAllowed()
Account
object instead @Deprecated boolean isPushNotificationAvailable()
Account
object instead @Deprecated boolean isRemotePushNotificationAllowed()
Account
object instead @Deprecated @Nullable NatPolicy getNatPolicy()
Account
object instead NatPolicy
object in use. Core.getNatPolicy()
@Deprecated void setNatPolicy(@Nullable NatPolicy policy)
Account
object instead policy
- NatPolicy
object. Core.setNatPolicy(org.linphone.core.NatPolicy)
@Deprecated int getPrivacy()
Account
object instead @Deprecated void setPrivacy(int privacy)
Account
object instead privacy
- Privacy
to configure privacy @Deprecated boolean publishEnabled()
Account
object instead @Deprecated void enablePublish(boolean enable)
Account
object instead ProxyConfig
. ProxyConfig
has been added to Core
, follows theedit()
rule. enable
- if true, publish will be engaged @Deprecated int getPublishExpires()
Account
object instead @Deprecated void setPublishExpires(int expires)
Account
object instead expires
- in second @Deprecated void setPushNotificationAllowed(boolean allow)
Account
object instead allow
- true to allow push notification information, false otherwise. @Deprecated @NonNull PushNotificationConfig getPushNotificationConfig()
Account
object instead PushNotificationConfig
. @Deprecated void setPushNotificationConfig(@NonNull PushNotificationConfig pushCfg)
Account
object instead pushCfg
- PushNotificationConfig
to set. @Deprecated @Nullable java.lang.String getQualityReportingCollector()
Account
object instead @Deprecated void setQualityReportingCollector(@Nullable java.lang.String collector)
Account
object instead collector
- route of the collector end-point, if null PUBLISH will be sent@Deprecated boolean qualityReportingEnabled()
Account
object instead @Deprecated void enableQualityReporting(boolean enable)
Account
object instead enable
- True to store quality statistics and send them to the collector,@Deprecated int getQualityReportingInterval()
Account
object instead @Deprecated void setQualityReportingInterval(int interval)
Account
object instead interval
- The interval in seconds, 0 means interval reports are disabled. @Deprecated @Nullable java.lang.String getRealm()
Account
object instead @Deprecated void setRealm(@Nullable java.lang.String realm)
Account
object instead realm
- New realm value. @Deprecated @Nullable java.lang.String getRefKey()
Account
object instead @Deprecated void setRefKey(@Nullable java.lang.String refkey)
Account
object instead refkey
- The reference key string to associate to the proxy config. @Deprecated boolean registerEnabled()
Account
object instead @Deprecated void enableRegister(boolean enable)
Account
object instead ProxyConfig
ProxyConfig
has been added to Core
, follows theedit()
rule. enable
- if true, registration will be engaged @Deprecated void setRemotePushNotificationAllowed(boolean allow)
Account
object instead allow
- true to allow remote push notification information, false@Deprecated int setRoute(@Nullable java.lang.String route)
setRoutes(java.lang.String[])
instead Core.setDefaultProxyConfig(org.linphone.core.ProxyConfig)
). route
- the SIP route to set @Deprecated @NonNull java.lang.String[] getRoutes()
Account
object instead @Deprecated int setRoutes(@Nullable java.lang.String[] routes)
Account
object instead Core.setDefaultProxyConfig(org.linphone.core.ProxyConfig)
). routes
- A of routes @Deprecated @Nullable java.lang.String getServerAddr()
Account
object instead @Deprecated int setServerAddr(@Nullable java.lang.String serverAddress)
Account
object instead serverAddress
- the proxy address to set. @Deprecated RegistrationState getState()
Account
object instead RegistrationState
of the proxy config. @Deprecated @NonNull java.lang.String getTransport()
Account
object instead @Deprecated int getUnreadChatMessageCount()
Account
object instead @Deprecated int done()
Account
object instead @Deprecated void edit()
Account
object instead edit()
done()
to commit the changes. @Deprecated @Nullable AuthInfo findAuthInfo()
Account
object instead AuthInfo
matching proxy config criteria if possible, null if@Deprecated @Nullable java.lang.String getCustomHeader(@NonNull java.lang.String headerName)
Account
object instead headerName
- the header name for which to fetch corresponding value @Deprecated @Nullable java.lang.String normalizePhoneNumber(@NonNull java.lang.String username)
Account
object instead ProxyConfig
username
- the string to parse @Deprecated @Nullable Address normalizeSipUri(@NonNull java.lang.String username)
Account
object instead username
- the string to parse @Deprecated void pauseRegister()
Account
object instead refreshRegister()
. @Deprecated void refreshRegister()
Account
object instead @Deprecated void setCustomHeader(@NonNull java.lang.String headerName, @Nullable java.lang.String headerValue)
Account
object instead headerName
- the header name headerValue
- the header's value 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