subscribeToEvents method

Future<EntitySubscription<Device>> subscribeToEvents(
  1. Set<SubscriptionEventType> events,
  2. FilterOptions<Device> filter, {
  3. 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,
	);
}