TVOIncomingCall Class Reference
Inherits from | NSObject |
---|---|
Declared in | TVOIncomingCall.h |
Overview
The TVOIncomingCall
object represents an incoming call. TVOIncomingCall
objects are not created directly; they
are returned by the [TVONotificationDelegate incomingCallReceived:]
delegate method.
CallKit Call Actions
Properties
delegate
The TVOIncomingCallDelegate
object that will receive call state updates.
@property (nonatomic, weak, nullable) id<TVOIncomingCallDelegate> delegate
Discussion
The TVOIncomingCallDelegate
object that will receive call state updates.
See Also
Declared In
TVOIncomingCall.h
from
From
value of the incoming call.
@property (nonatomic, strong, readonly, nonnull) NSString *from
Discussion
From
value of the incoming call.
Declared In
TVOIncomingCall.h
to
To
value of the incoming call.
@property (nonatomic, strong, readonly, nonnull) NSString *to
Discussion
To
value of the incoming call.
Declared In
TVOIncomingCall.h
callSid
Call SID
value of the incoming call.
@property (nonatomic, strong, readonly, nonnull) NSString *callSid
Discussion
Call SID
value of the incoming call.
Declared In
TVOIncomingCall.h
muted
Property that defines if the incoming call is muted.
@property (nonatomic, assign, getter=isMuted) BOOL muted
Discussion
Property that defines if the incoming call is muted.
Setting the property will only take effect if the state
is TVOIncomingCallStateConnected
.
Declared In
TVOIncomingCall.h
state
State of the incoming call.
@property (nonatomic, assign, readonly) TVOIncomingCallState state
Discussion
State of the incoming call.
See Also
Declared In
TVOIncomingCall.h
General Call Actions
– disconnect
Disconnects the incoming call.
- (void)disconnect
Discussion
Disconnects the incoming call.
Calling this method on a TVOIncomingCall
that has the state
of TVOIncomingCallStateDisconnected
will have no effect.
Declared In
TVOIncomingCall.h
– sendDigits:
Send a string of digits.
- (void)sendDigits:(nonnull NSString *)digits
Parameters
digits |
A string of characters to be played. Valid values are ‘0’ - ‘9’, ‘*’, ‘#’, and ‘w’. Each ‘w’ will cause a 500 ms pause between digits sent. |
---|
Discussion
Send a string of digits.
Calling this method on a TVOIncomingCall
that does not have the state
of TVOIncomingCallStateConnected
will have no effect.
Declared In
TVOIncomingCall.h
Incoming Call Actions
– acceptWithDelegate:
Accepts the incoming call.
- (void)acceptWithDelegate:(nonnull id<TVOIncomingCallDelegate>)delegate
Parameters
delegate |
A |
---|
Discussion
Accepts the incoming call.
Calling acceptWithDelegate:
will accept the incoming call. Calling this method on a TVOIncomingCall
that does not
have a state
of TVOIncomingCallStatePending
will have no effect.
See Also
Declared In
TVOIncomingCall.h
– reject
Rejects the incoming call.
- (void)reject
Discussion
Rejects the incoming call.
Calling reject
will notify the caller that this call was rejected. Calling this method on a TVOIncomingCall
that
does not have a state of TVOIncomingCallStatePending
will have no effect.
Declared In
TVOIncomingCall.h
– ignore
Ignores the incoming call.
- (void)ignore
Discussion
Ignores the incoming call.
Calling this method on a TVOIncomingCall
that does not have a state of TVOIncomingCallStatePending
will have no
effect.
Declared In
TVOIncomingCall.h
CallKitIntegration Methods
uuid
UUID of the incoming call.
@property (nonatomic, strong, readonly, nonnull) NSUUID *uuid
Discussion
UUID of the incoming call.
Use this UUID for CallKit methods.
Declared In
TVOIncomingCall.h