SfBConversation Class Reference

Inherits from NSObject
Declared in SfBConversation.h

Overview

This interface represents a communication between one or more participants created via a Skype for Business meeting or by ad hoc user action. It is managed via a set of “services” local to this endpoint. Services are fixed and cannot be added or removed. There is one service that manages each aspect of this endpoint’s communication into the conversation: e.g. for chat messaging, a service for audio, a service for video etc. There is also a service that manages the history of previous events that occured during this conversation.

  state

@property (readonly) SfBConversationState state

  remoteParticipants

Remote participants in the conversation. The local (self) participant is not included in this collection.

@property (readonly) NSArray<SfBParticipant*> *remoteParticipants

Discussion

Remote participants in the conversation. The local (self) participant is not included in this collection.

Declared In

SfBConversation.h

  selfParticipant

The local or self participant in the conversation.

@property (readonly) SfBParticipant *selfParticipant

Discussion

The local or self participant in the conversation.

Note: This object represents state of participant as visible to others. To inspect or configure local state, it may also be necessary to use the interfaces that directly control the communication this endpoint sends into the converation: e.g. ChatService, AudioService and VideoService.

Declared In

SfBConversation.h

  dominantSpeaker

The participant who is currently speaking.

@property (readonly, nullable) SfBParticipant *dominantSpeaker

Discussion

The participant who is currently speaking.

Declared In

SfBConversation.h

  historyService

Manages all previous activity in this conversation.

@property (readonly) SfBHistoryService *historyService

Discussion

Manages all previous activity in this conversation.

Declared In

SfBConversation.h

  chatService

Controls the local chat messages that this endpoint sends into the conversation.

@property (readonly) SfBChatService *chatService

Discussion

Controls the local chat messages that this endpoint sends into the conversation.

Declared In

SfBConversation.h

  audioService

Controls the local audio that this endpoint sends into the conversation.

@property (readonly) SfBAudioService *audioService

Discussion

Controls the local audio that this endpoint sends into the conversation.

Declared In

SfBConversation.h

  videoService

Controls the local video that this endpoint sends into the conversation.

@property (readonly) SfBVideoService *videoService

Discussion

Controls the local video that this endpoint sends into the conversation.

Declared In

SfBConversation.h

  subject

The subject or topic of the conversation.

@property (readonly) NSString *subject

Discussion

The subject or topic of the conversation.

Declared In

SfBConversation.h

– leave:

Leave the conversation

- (BOOL)leave:(NSError **)error

Discussion

Leave the conversation

No further actions are possible. Previous state, such as subject and history will remain readable.

Declared In

SfBConversation.h

  canLeave

@property (readonly) BOOL canLeave

  alertDelegate

Delegate for alerts specific to this conversation.

@property (weak, readwrite, nullable) id<SfBAlertDelegate> alertDelegate

Discussion

Delegate for alerts specific to this conversation.

Declared In

SfBConversation.h

– init

- (instancetype)init