Skip to content

Commit 98e2676

Browse files
committed
Added documentation for makePhoneCall().
1 parent 7bfec95 commit 98e2676

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Exclude IntelliJ files
2+
*.iml
3+
.idea/

docs/api-reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ Provided JS functions are ones that are provided to you, so that you may call th
175175
* `launchIntent(intentName, parameters, callback(error, result))` (Android only)
176176
Launches an external app given an `intentName` and a map of `parameters`. Invokes the `callback` function either with an `error` or the `result` from the external app when it returns.
177177

178+
* `makePhoneCall(phone_number, phone_number_label, hide_phone_number, callback(error, result))` (Android only)
179+
Places a phone call to the given `phone_number`. The optional `phone_number_label` parameter can be used to mask the phone number in the UI when the use case requires that the phone number should be kept private. If this label is blank but `hide_phone_number` is 1 then the phone number will be masked with this label: `(Number hidden)`
180+
178181
* `getPhoneCallStatus(callback(error, result))` (Android only)
179182
Returns the status of an going call (if any) as defined in https://developer.android.com/reference/android/telecom/Call#getState(). if no call is in progress then it returns -1.
180183

0 commit comments

Comments
 (0)