BDKHandleIncomingCallIntent
Objective-C
@interface BDKHandleIncomingCallIntent : NSObject <BDKIntent>
Swift
class HandleIncomingCallIntent : NSObject, Intent
Represents the intent of handling a incoming call.
When the sdk detects an incoming call has been received, you should create an BDKHandleIncomingCallIntent
instance passing it the call object received and hand it to a BDKCallViewController
or to a BDKCallWindow
.
-
The call object
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<BDKCall> _Nonnull call;
-
Initialize an instance of
BDKHandleIncomingCallIntent
classDeclaration
Objective-C
- (nonnull instancetype)initWithCall:(nonnull id<BDKCall>)call;
Parameters
call
The incoming call object
Return Value
An initialized instance of
BDKHandleIncomingCallIntent
class