This sample capsule is a quick demonstration of how to use the Phone Call library. With this library, your Bixby capsules can make phone calls on supported devices.
After you compile the NL model, open the Device Simulator and set a mobile target. Enter (or say) the query "Start".
This action will bring up a cell card for a business. To make the phone call, either tap on the card or say "call this business".
To properly test this, you'll need to do on-device testing, since the Simulator isn't capable of making phone calls.
Because you cannot submit a capsule with the example
namespace, in order to test a sample capsule on a device, you must change the id
in the capsule.bxb
file from example
to your organization's namespace before making a private submission.
For example, if your namespace is acme
, change example.phoneCallExample
to acme.phoneCallExample
.
You can change the phone number on the sample card by editing the phone number in FindBusiness.js
.
The following video demonstrates how to incorporate the phoneCall
library capsule so your capsule can make phone calls with this sample capsule.
Copyright 2024 Samsung All rights reserved