Inherits from NSObject
Declared in BXUIncomingCallPrompt.h

Overview

Used to show a nice and clean incoming call prompt that dim the entire screen while it’s visible. This class is intented to be used as a singleton instance, please use Bit6IncomingCallPrompt.sharedInstance() when necessary.

Class Methods

callController

Returns the call linked to the prompt

+ (nullable Bit6CallController *)callController

Return Value

callController linked to the prompt

Declared In

BXUIncomingCallPrompt.h

dismiss

Dismiss the BXUIncomingCallPrompt.

+ (void)dismiss

Declared In

BXUIncomingCallPrompt.h

sharedInstance

Returns the singleton BXUIncomingCallPrompt instance

+ (BXUIncomingCallPrompt *)sharedInstance

Return Value

singleton BXUIncomingCallPrompt instance

Declared In

BXUIncomingCallPrompt.h

showForCallController:

Presents the BXUIncomingCallPrompt.

+ (void)showForCallController:(Bit6CallController *)callController

Parameters

callController

call to be linked to the prompt

Declared In

BXUIncomingCallPrompt.h

Instance Methods

answerAudio

Action to be used to answer an audio call

- (void)answerAudio

Declared In

BXUIncomingCallPrompt.h

answerData

Action to be used to answer an data call

- (void)answerData

Declared In

BXUIncomingCallPrompt.h

answerVideo

Action to be used to answer an video call

- (void)answerVideo

Declared In

BXUIncomingCallPrompt.h

init

Unavailable init. Use [BXUIncomingCallPrompt sharedInstance] instead.

- (instancetype)init

Return Value

a new instance of the class.

Declared In

BXUIncomingCallPrompt.h

reject

Action to be used to reject a call

- (void)reject

Declared In

BXUIncomingCallPrompt.h

setContentViewGenerator:

Set a block to generate the view to be shown at the center of the BXUIncomingCallPrompt view.

- (void)setContentViewGenerator:(BXUContentViewGenerator)contentViewGenerator

Parameters

contentViewGenerator

block to generate the view to be shown in the BXUIncomingCallPrompt.

Declared In

BXUIncomingCallPrompt.h