init()
This method creates an instance of
RFResultListener
class RFResultListener<T>
The RFResultListener is used as parameters for various RideFlagProvider
methods.
Host app is expected to create their own ResultListener that extends from RFResultListner and override onResult() and onFailure() method. (data type T depends on the method)
init()
RFResultListener
func onFailure(error: RFResultListenerError)
func onResult(result: T)