Bit6IncomingCallPrompt Class Reference
Inherits from | NSObject |
Declared in | Bit6IncomingCallPrompt.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()
Tasks
Other Methods
-
+ setAnswerAudioHandler:
-
+ setAnswerVideoHandler:
-
+ setAnswerDataHandler:
-
+ setRejectHandler:
-
+ showForCallController:
-
+ dismiss
-
+ callController
ContentView Full Customization
Class Methods
callController
Returns the call linked to the prompt
+ (nullable Bit6CallController *)callController
Return Value
callController linked to the prompt
Declared In
Bit6IncomingCallPrompt.h
setAnswerAudioHandler:
Set a block of code to be executed on the Bit6IncomingCallPrompt.answerAudio() event.
+ (void)setAnswerAudioHandler:(nullable void ( ^ ) ( Bit6CallController *_Nonnull ))answerAudioHandler
Parameters
- answerAudioHandler
block of code to be executed.
Declared In
Bit6IncomingCallPrompt.h
setAnswerDataHandler:
Set a block of code to be executed on the Bit6IncomingCallPrompt.answerData() event.
+ (void)setAnswerDataHandler:(nullable void ( ^ ) ( Bit6CallController *_Nonnull ))answerDataHandler
Parameters
- answerDataHandler
block of code to be executed.
Declared In
Bit6IncomingCallPrompt.h
setAnswerVideoHandler:
Set a block of code to be executed on the Bit6IncomingCallPrompt.answerVideo() event.
+ (void)setAnswerVideoHandler:(nullable void ( ^ ) ( Bit6CallController *_Nonnull ))answerVideoHandler
Parameters
- answerVideoHandler
block of code to be executed.
Declared In
Bit6IncomingCallPrompt.h
setRejectHandler:
Set a block of code to be executed on the Bit6IncomingCallPrompt.reject() event.
+ (void)setRejectHandler:(nullable void ( ^ ) ( Bit6CallController *_Nonnull ))rejectHandler
Parameters
- rejectHandler
block of code to be executed.
Declared In
Bit6IncomingCallPrompt.h
Instance Methods
answerAudio
Action to be used to answer an audio call
- (void)answerAudio
Declared In
Bit6IncomingCallPrompt.h
answerData
Action to be used to answer an data call
- (void)answerData
Declared In
Bit6IncomingCallPrompt.h