One Logo Pool Ball
LiveCommunicationKit · IOS API REFERENCE

ConversationAction

class · iOS 17.4+ · SDK 27.1

class ConversationAction

A programmatic interface for objects that represent a VoIP action associated with a `Conversation`.

Members (7)

get · iOS 17.4+

timeoutDate

TypeScript
get timeoutDate(): globalThis.Date
Swift declaration
final var timeoutDate: Date { get }

The `Date` after which the action cannot be completed.

get · iOS 17.4+

conversationUUID

TypeScript
get conversationUUID(): string
Swift declaration
final var conversationUUID: UUID { get }

The unique identifier for the `Conversation` associated with the action.

init · iOS 17.4+

init

TypeScript
static init(conversationUUID: string, timeoutDate?: globalThis.Date): ConversationAction
Swift declaration
convenience init(conversationUUID: UUID, timeoutDate: Date = Date(timeIntervalSinceNow: 30))

Initializes a new conversation action. - parameter conversationID: The unique identifier for the `Conversation` to be associated with this new action. - parameter timeoutDate: The `Date` after which the action cannot be completed.

method · iOS 17.4+

fail

TypeScript
fail(): void
Swift declaration
final func fail()

Reports the failed execution of the action.

get · iOS 17.4+

uuid

TypeScript
get uuid(): string
Swift declaration
final var uuid: UUID { get }

The unique identifier for the action.

get · iOS 17.4+

state

TypeScript
get state(): ConversationAction_State
Swift declaration
final var state: ConversationAction.State { get }

The action's current state.

method · iOS 17.4+

fulfill

TypeScript
fulfill(): void
Swift declaration
final func fulfill()

Reports the successful execution of the action.

Skipped declarations

No declarations were skipped in this snapshot.

All LiveCommunicationKit types →