Package org.linphone.core
Interface VideoActivationPolicy
public interface VideoActivationPolicy
Object describing policy regarding video streams establishments.
Use
tell the Core to automatically accept or initiate video during calls.
Even if disabled, you'll still be able to add it later while the call is
running.
Use
setAutomaticallyAccept(boolean)
and setAutomaticallyInitiate(boolean)
totell the Core to automatically accept or initiate video during calls.
Even if disabled, you'll still be able to add it later while the call is
running.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the value for the automatically accept video policy.boolean
Gets the value for the automatically initiate video policy.long
Gets the native pointer used by this class to make native method calls.Gets the object stored in this object user's datavoid
setAutomaticallyAccept
(boolean enable) Sets the value for the automatically accept video policy.void
setAutomaticallyInitiate
(boolean enable) Sets the value for the automatically initiate video policy.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAutomaticallyAccept
boolean getAutomaticallyAccept()Gets the value for the automatically accept video policy.
- Returns:
- whether or not to automatically accept video requests is enabled
-
setAutomaticallyAccept
void setAutomaticallyAccept(boolean enable) Sets the value for the automatically accept video policy.
- Parameters:
enable
- whether or not to enable automatically accept video requests
-
getAutomaticallyInitiate
boolean getAutomaticallyInitiate()Gets the value for the automatically initiate video policy.
- Returns:
- whether or not to automatically initiate video calls is enabled
-
setAutomaticallyInitiate
void setAutomaticallyInitiate(boolean enable) Sets the value for the automatically initiate video policy.
- Parameters:
enable
- whether or not to enable automatically initiate video calls
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-