ParticipantDevice
public class ParticipantDevice : LinphoneObject
This object represents a unique device for a member of a Conference
or
ChatRoom
.
Devices are identified by the gruu parameter inside the Address
which can be
obtained by getAddress(). It is specially usefull to know the security level of
each device inside an end-to-end encrypted ChatRoom
.
You can get a list of all ParticipantDevice
using Participant.getDevices().
-
Undocumented
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> ParticipantDevice
-
Undocumented
Declaration
Swift
public var getCobject: OpaquePointer? { get }
-
Get the audio direction of the device.
Declaration
Swift
public var audioDirection: MediaDirection { get }
Return Value
the audio direction of the device
-
Return whether the participant device is in a conference or not.
Declaration
Swift
public var isInConference: Bool { get }
Return Value
a boolean to state whether the device is in a conference
-
Return the name of the device or nil.
Declaration
Swift
public var name: String { get }
Return Value
the name of the device or nil.
-
Get the security level of a participant’s device.
Declaration
Swift
public var securityLevel: ChatRoomSecurityLevel { get }
Return Value
The
ChatRoomSecurityLevel
of the device -
Get the text direction of the device.
Declaration
Swift
public var textDirection: MediaDirection { get }
Return Value
the text direction of the device
-
Get the timestamp the device joined a conference.
Declaration
Swift
public var timeOfJoining: time_t { get }
Return Value
time of joining a conference as returned by time(nullptr). For UNIX based systems it is the number of seconds since 00:00hours of the 1st of January 1970
-
Retrieve the user pointer associated with the participant’s device.
Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }
Return Value
The user pointer associated with the participant’s device.
-
Get the video direction of the device.
Declaration
Swift
public var videoDirection: MediaDirection { get }
Return Value
the video direction of the device