appAuthorization property
Get the application authorization API token.
Returns empty if no valid authorization API token is used.
Returns
- The token
Implementation
static String get appAuthorization {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getAppAuthorization',
);
return resultString['result'];
}
Allow the given service type on the extra charged network type. By default all are allowed.
Parameters
- IN token The API token
Implementation
static set appAuthorization(String token) {
if (isSDkInitialized) {
staticMethod( 'SdkSettings', 'setAppAuthorization', args: token);
} else {
throw GemKitUninitializedException();
}
}