This sample capsule is a quick demonstration of how to use the Text Message library. With this library, your Bixby capsules can send text messages on supported devices.
After you compile the NL model, open the Device Simulator and set the target to mobile. Enter (or say) the query "Start".
This action will bring up a cell card for a business. To send a text message, either click on the card or say "Send feedback".
To properly test this, you'll need to do on-device testing, since the Simulator isn't capable of making phone calls . You can change the phone number on the sample card by editing the phone number in FindBusiness.js
.
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.textMessageExample
to acme.textMessageExample
.
The following video demonstrates how to use the textMessage
library in your capsule with this sample capsule.
Copyright 2024 Samsung All rights reserved