vonage users create `
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
Kotlin
Créer les utilisateurs
Chaque participant à un Conversation est représenté par un Utilisateur et doit être authentifié par le Client SDK. Dans une application de production, vous stockez généralement ces informations sur l'utilisateur dans une base de données.
Exécutez les commandes suivantes pour créer deux utilisateurs, Alice et Bob qui se connectera au client Vonage et participera à la conversation.
vonage users create ^
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Alice' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Alice Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
vonage users create `
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create ^
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Bob' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Bob Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
Passer un appel vocal d'application à application
Passer un appel vocal depuis une application Android vers la même application Android installée sur un autre appareil à l'aide du Client SDK Android.
Étapes
1
Introduction à cette tâche2
Prerequisites3
Créer un serveur webhook4
Créer une application Vonage5
Créer les utilisateurs6
Générer des JWT7
Créer un projet Android8
Ajouter des autorisations9
Ecran principal de construction10
Initialiser le client11
Recevoir un appel12
Passer un appel13
Quelle est la prochaine étape ?