VideoActivationPolicy

public class VideoActivationPolicy : LinphoneObject

Object describing policy regarding video streams establishments. Use setAutomaticallyAccept() and setAutomaticallyInitiate() 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.

  • Undocumented

    Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> VideoActivationPolicy
  • Undocumented

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Sets the value for the automatically accept video policy.

    Declaration

    Swift

    public var automaticallyAccept: Bool { get set }

    Parameters

    enable

    whether or not to enable automatically accept video requests Gets the value for the automatically accept video policy.

    Return Value

    whether or not to automatically accept video requests is enabled

  • Sets the value for the automatically initiate video policy.

    Declaration

    Swift

    public var automaticallyInitiate: Bool { get set }

    Parameters

    enable

    whether or not to enable automatically initiate video calls Gets the value for the automatically initiate video policy.

    Return Value

    whether or not to automatically initiate video calls is enabled

  • Sets the user data in the VideoActivationPolicy object.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Parameters

    userData

    the user data
    Gets the user data in the VideoActivationPolicy object.

    Return Value

    the user data