How to use Face State Triggers in iOS
Banuba SDK has several face state triggers. To use them, you need to follow the next steps
#
Usage of Face State Triggers in your iOS app- Import
BanubaEffectPlayer
framework into your project. - Add
BNBFrameDataListener
to your ViewControllernote
Remove
BNBFrameDataListener
when your ViewController is deinited - Inherit interface BNBFrameDataListener and add protocol stubs
- From BNBFrameData you can get information about smile, mouth, brows and others
- Now you can use Face State Triggers in your iOS app