We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8afacec + aaf68a6 commit 51c4b07Copy full SHA for 51c4b07
index.d.ts
@@ -41,6 +41,17 @@ declare module 'react-native-callkeep' {
41
export type DidDisplayIncomingCallPayload = string | undefined;
42
export type DidPerformSetMutedCallActionPayload = boolean;
43
44
+ export const CONSTANTS: {
45
+ END_CALL_REASONS: {
46
+ FAILED: 1,
47
+ REMOTE_ENDED: 2,
48
+ UNANSWERED: 3,
49
+ ANSWERED_ELSEWHERE: 4,
50
+ DECLINED_ELSEWHERE: 5 | 2,
51
+ MISSED: 2 | 6
52
+ }
53
+ };
54
+
55
export default class RNCallKeep {
56
static addEventListener(type: Events, handler: (args: any) => void): void
57
0 commit comments