Add contact
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Add contact

  • Dark
    Light
  • PDF

Article Summary

Adds a new contact to the device contacts list.

Once the contact has been added, the first output is triggered.

If there is an error, the second output is triggered.

If the user hasn't given permission to access contacts, they will be requested automatically.

Input arguments

LabelKeyTypeRequired?DefaultDescription
New contactcontactObjectYesNew contact to add to the contacts list.

Output arguments

Number of outputs: 2

No output arguments.

Events

No events.

Errors

LabelCodeDescription
Unknown errorunknownThrown if an unknown error occurred while getting the contacts.

Was this article helpful?

What's Next