How to get the list of Alarms using the Mobile SDK?

We are developing a mobile application using Mobile SDK. We want to notify the user when an alarm is triggered.

We’ve seen this sample but it’s only usable for the plugin and we couldn’t find a sample/source code for the mobile development using Xamarin.

https://doc.developer.milestonesys.com/html/index.html?base=samples/alarmlist_sample.html&tree=tree_3.html

Hi,

You can lоok into Mobile SDK samples how to work with the SDK in General:

https://github.com/milestonesys/mipsdkmobile-samples-dotnet

We do not have a sample app about getting alarms , but we do provide commands for getting alarms:

_connection.Alarms.GetAlarmList(..)

/Svetlana

Thank you for your reply!

Yes, we have already found this function which is : GetAlarmList(GetAlarmParams getAlarmParams,OnResponse< GetAlarmListResponse> onSuccess = null ,OnResponse< GetAlarmListResponse> onFail = null )

but we didn’t know how to replace the parameter “getAlarmParams”. Do you have any idea?

Thank you.