getDeviceInterests method
Get the interests registered in this device. Returns a List
containing the interests as String.
Example Usage
function someAsyncFunction() async {
print(await PusherBeams.instance.getDeviceInterests()); // Prints: ['banana', 'apple']
}
Throws an Exception in case of failure.
Implementation
@override
Future<List<String?>> getDeviceInterests() {
return _pusherBeamsApi.getDeviceInterests();
}