Interface VideoActivationPolicy


public interface VideoActivationPolicy
Object describing policy regarding video streams establishments.

Use setAutomaticallyAccept(boolean) and setAutomaticallyInitiate(boolean) to
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.
  • 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

      void setUserData(Object data)
      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()
      Overrides:
      toString in class Object