public class PushConfig
extends java.lang.Object
Constructor and Description |
---|
PushConfig(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cid()
Gets the Push ID ("pn-cid" parameter) used for registering a device at the Push Proxy
|
void |
cid(java.lang.String value)
Sets the Push ID ("pn-cid" parameter) used for registering a device at the Push Proxy
|
boolean |
enabled()
Gets the use of push notifications
|
void |
enabled(boolean value)
Sets the use of push notifications
|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
boolean |
isEqual(PushConfig comp)
Compares the current configuration with the given one
|
java.lang.String |
proxy()
Gets the Push Proxy address all SIP messages go through
The Push Proxy is used as SIP Outbound Proxy.
|
void |
proxy(java.lang.String value)
Sets the Push Proxy address all SIP messages go through
The Push Proxy is used as SIP Outbound Proxy.
|
boolean |
rtpMediaProxy()
Gets the use of the push notifications proxy also acting as media proxy
|
void |
rtpMediaProxy(boolean value)
Sets the use of the push notifications proxy also acting as media proxy
|
java.lang.String |
token()
Gets the Push Device TOKEN part of the "pn-uri" parameter used for registering a device at the Push Proxy
|
void |
token(java.lang.String value)
Sets the Push Device TOKEN part of the "pn-uri" parameter used for registering a device at the Push Proxy
|
TransportType |
transport()
Gets the selected transport being used to reach the push proxy
|
void |
transport(TransportType value)
Selects the transport to be used to reach the push proxy
|
java.lang.String |
type()
Gets the Push TYPE ("pn-type" parameter) used for registering a device at the Push Proxy
|
void |
type(java.lang.String value)
Sets the Push TYPE ("pn-type" parameter) used for registering a device at the Push Proxy
|
java.lang.String |
uri()
Gets the URI part of the "pn-uri" parameter used for registering a device at the Push Proxy
|
void |
uri(java.lang.String value)
Sets the URI part of the "pn-uri" parameter used for registering a device at the Push Proxy
|
public PushConfig(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public boolean enabled()
public void enabled(boolean value)
value
- public boolean rtpMediaProxy()
public void rtpMediaProxy(boolean value)
value
- public TransportType transport()
TransportType
public void transport(TransportType value)
value
- The transport to be usedTransportType
public java.lang.String uri()
public void uri(java.lang.String value)
value
- The URI part of the "pn-uri" parameterpublic java.lang.String token()
public void token(java.lang.String value)
value
- The Push Device TOKEN part of the "pn-uri" parameterpublic java.lang.String type()
public void type(java.lang.String value)
value
- The Push Type ("pn-type" parameter)public java.lang.String cid()
public void cid(java.lang.String value)
value
- The Push ID ("pn-cid" parameter)public java.lang.String proxy()
public void proxy(java.lang.String value)
value
- The Push Proxypublic boolean isEqual(PushConfig comp)
comp
- Push configuration to be compared