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.
Android
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);
iOS
An instance of Hyper should be created before making any API calls.
let hyperInstance = HyperServices()
@property (nonatomic, strong) HyperServices *hyperInstance;
...
self.hyperInstance = [HyperServices new];
React Native
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.
HyperSdkReact.createHyperServices();
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.
SDK interfaces
Below API's are exposed by HyperSDK. Refer API sub page for more details.
'*' - mandatory
Updated 12 months ago