Participant

public class Participant : LinphoneObject

Identifies a member of a Conference or ChatRoom. A participant is identified by it’s SIP address. It can have many ParticipantDevice.

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Get the address of a conference participant.

    Declaration

    Swift

    public var address: Address? { get }

    Return Value

    The Address of the participant

  • Get the timestamp of the creation of the participant.

    Declaration

    Swift

    public var creationTime: time_t { get }

    Return Value

    time of creation of the participant as returned by time(nullptr). For UNIX based systems it is the number of seconds since 00:00hours of the 1st of January 1970

  • Gets the list of devices from a chat room’s participant.

    Declaration

    Swift

    public var devices: [ParticipantDevice] { get }

    Return Value

    List of devices.

  • Tells whether a conference participant is an administrator of the conference.

    Declaration

    Swift

    public var isAdmin: Bool { get }

    Return Value

    A boolean value telling whether the participant is an administrator

  • Tells whether a conference participant is the focus of the conference.

    Declaration

    Swift

    public var isFocus: Bool { get }

    Return Value

    A boolean value telling whether the participant is a focus of a conference

  • Get the security level of a participant.

    Declaration

    Swift

    public var securityLevel: ChatRoomSecurityLevel { get }

    Return Value

    The ChatRoomSecurityLevel of the participant

  • Assign a user pointer to the conference participant.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Parameters

    userData

    The user pointer to associate with the participant.
    Retrieve the user pointer associated with the conference participant.

    Return Value

    The user pointer associated with the participant.

  • Find a device in the list of devices from a chat room’s participant.

    Declaration

    Swift

    public func findDevice(call: Call) -> ParticipantDevice?

    Parameters

    call

    A Call object

    Return Value

    a ParticipantDevice or nil if not found.

  • Find a device in the list of devices from a chat room’s participant.

    Declaration

    Swift

    public func findDevice(address: Address) -> ParticipantDevice?

    Parameters

    address

    A Address object

    Return Value

    a ParticipantDevice or nil if not found.