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 }
  • Gets the value for the automatically accept video policy.

    Declaration

    Swift

    public var automaticallyAccept: Bool { get set }

    Return Value

    whether or not to automatically accept video requests is enabled

  • Gets the value for the automatically initiate video policy.

    Declaration

    Swift

    public var automaticallyInitiate: Bool { get set }

    Return Value

    whether or not to automatically initiate video calls is enabled

  • Gets the user data in the VideoActivationPolicy object.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Return Value

    the user data