TVOCallInvite Class Reference

Inherits from NSObject
Declared in TVOCallInvite.h

Overview

The TVOCallInvite object represents an incoming Call Invite. TVOCallInvites are not created directly; they are returned by the [TVONotificationDelegate callInviteReceived:] delegate method.

CallKit Call Actions

Properties

  from

From value of the Call Invite.

@property (nonatomic, copy, readonly, nonnull) NSString *from

Declared In

TVOCallInvite.h

  to

To value of the Call Invite.

@property (nonatomic, copy, readonly, nonnull) NSString *to

Declared In

TVOCallInvite.h

  callSid

A server assigned identifier (SID) for the incoming Call.

@property (nonatomic, copy, readonly, nonnull) NSString *callSid

Discussion

Accepting a TVOCallInvite yields a TVOCall which inherits this SID.

See Also

Declared In

TVOCallInvite.h

Call Invite Actions

– acceptWithDelegate:

Accepts the incoming Call Invite.

- (nonnull TVOCall *)acceptWithDelegate:(nonnull id<TVOCallDelegate>)delegate

Parameters

delegate

A TVOCallDelegate to receive Call state updates.

Return Value

A TVOCall object.

See Also

Declared In

TVOCallInvite.h

– acceptWithOptions:delegate:

Accepts the incoming Call Invite.

- (nonnull TVOCall *)acceptWithOptions:(nonnull TVOAcceptOptions *)options delegate:(nonnull id<TVOCallDelegate>)delegate

Parameters

options

An accept options.

delegate

A TVOCallDelegate to receive Call state updates.

Return Value

A TVOCall object.

Declared In

TVOCallInvite.h

– reject

Rejects the incoming Call Invite.

- (void)reject

Declared In

TVOCallInvite.h

– init

Call Invites cannot be instantiated directly. See TVONotificationDelegate instead.

- (null_unspecified instancetype)init

Declared In

TVOCallInvite.h

CallKitIntegration Methods

  uuid

UUID of the Call Invite.

@property (nonatomic, copy, readonly, nonnull) NSUUID *uuid

Discussion

Use this UUID for CallKit methods. Accepting a TVOCallInvite yields a TVOCall which inherits its UUID from the Invite.

Declared In

TVOCallInvite.h