ParticipantImdnState

public class ParticipantImdnState : LinphoneObject

This object represents the delivery/display state of a given chat message for a/// given participant. It also contains a timestamp at which this participant state has changed. Use ChatMessage.getParticipantsByImdnState() to get all ParticipantImdnState for a given state. From there use getParticipant() to get the Participant object if you need it.

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Get the participant concerned by a LinphoneParticipantImdnState.

    Declaration

    Swift

    public var participant: Participant? { get }

    Return Value

    The Participant concerned by the LinphoneParticipantImdnState

  • Get the chat message state the participant is in.

    Declaration

    Swift

    public var state: ChatMessage.State { get }

    Return Value

    The ChatMessage.State the participant is in

  • Get the timestamp at which a participant has reached the state described by a LinphoneParticipantImdnState.

    Declaration

    Swift

    public var stateChangeTime: time_t { get }

    Return Value

    The timestamp at which the participant has reached the state described in the LinphoneParticipantImdnState

  • Assign a user pointer to a LinphoneParticipantImdnState.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Parameters

    userData

    The user pointer to associate with the LinphoneParticipantImdnState.
    Retrieve the user pointer associated with a LinphoneParticipantImdnState.

    Return Value

    The user pointer associated with the LinphoneParticipantImdnState.