subscribeToEvents method
Future<EntitySubscription<Device> >
subscribeToEvents(
- Set<
SubscriptionEventType> events, - FilterOptions<
Device> filter, { - EntitySubscriptionConfiguration? subscriptionConfig,
Implementation
Future<EntitySubscription<Device>> subscribeToEvents(Set<SubscriptionEventType> events, FilterOptions<Device> filter, { EntitySubscriptionConfiguration? subscriptionConfig }) async {
return await CardinalSdkPlatformInterface.instance.apis.device.subscribeToEvents(
_sdkId,
events,
filter,
subscriptionConfig,
);
}