SMIParticipant

Objective-C

@protocol SMIParticipant

Swift

protocol Participant

Represents a participant in a conversation.

  • The unique identifier for an SMIParticipant object.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull subject;

    Swift

    var subject: String { get }
  • The role assigned to an SMIParticipant determines the access a participant has for administrative or other operations on a conversation.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) SMIParticipantRole _Nonnull role;

    Swift

    var role: ParticipantRole { get }
  • Indicates whether the SMIParticipant represents the local device user in the conversation.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isLocal) BOOL local;

    Swift

    var isLocal: Bool { get }
  • The non-unique string that determines how a participant is displayed within the UI.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *displayName;

    Swift

    var displayName: String? { get }
  • The SMIParticipantClientMenu associated with this participant.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIParticipantClientMenu> clientMenu;

    Swift

    var clientMenu: (any ParticipantClientMenu)? { get }