I’m trying to get step count from Samsung Health (on Android app), using Xamarin Forms.
I’m struggling with creating a HealthDataStore that requires an HealthDataStore.IConnectionListener. Because, we can’t create an HealthDataStore.IConnectionListener without a HealthDataStore.
C# doesn’t have anonymous inline classes like Java, so it appears you have to build out an IConnectionListener interface.
Does anyone have any experience getting step data from Samsung Health using Xamarin Forms (C#) ?
I’d love to see a super simple sample working in C#.