SDK Interface API
HyperSDK has been structured so that it exposes a limited set of generic Apis which covers the structure of the constantly changing payments ecosystem. This enables the consumption of new features seamlessly and with very minimal changes.
An instance of HyperServices should be created with a fragment activity instance and a viewgroup instance as its parameters.
HyperServices hyperInstance = new HyperServices(fragmentActivity, viewgroup);
An instance of Hyper should be created before making any API calls.
let hyperInstance = HyperServices()
@property (nonatomic, strong) HyperServices *hyperInstance; ... self.hyperInstance = [HyperServices new];
Create HyperServices Object
This method creates an instance of HyperServices class in the React Bridge Module on which all the HyperSDK APIs / methods are triggered. It internally uses the current activity as an argument.
Note: This method is mandatory and is required to call any other subsequent methods from HyperSDK.
All api’s are triggered on an instance of HyperServices.
Below API's are exposed by HyperSDK. Refer API sub page for more details.
'*' - mandatory
Updated 12 months ago