Breadcrumbs

SessionsApi. iOS

Api to manipulate different users sessions.

Get sessions list

Get the list of different sessions.

If request was successful you'll receive the list of VMSSession object. If any error would occur you would get an VMSApiError object.

getSessionsList(completion: ([VMSSession]?, VMSApiError?))

Delete session

Delete specific session of a given id.

If request was successful you'll receive nil. If any error would occur you would get an VMSApiError object.

deleteSession(with id: String, completion: (VMSApiError?))