get Consents
fun getConsents(sessionToken: String, loadStrategy: ConsentLoadStrategy = ConsentLoadStrategy.CACHE): Observable<List<ConsentGroup>>
getConsents, This Observable will emmit the List of a users ConsentGroup every time changes have been made to the list locally. The application UI should update every time this observable emits a new value.
Return
a Observable that emits the ConsentGroup list.
Parameters
session Token
token of the user.
load Strategy
the load strategy CACHE or REFRESH default is CACHE