applicationId property
String
get
applicationId
Get the application id of the application authorization API token currently set.
Convenience over getApplicationIdFromToken for the token given at SDK initialization or via appAuthorization, so the application id can be obtained without keeping the token around.
Returns
- String: The application id, or empty if no application token is set.
API error codes:
- GemError.notFound: No application token is set.
- GemError.invalidInput: The token set has no application id.
See also:
- getApplicationIdFromToken - Get the application id from an application token.
Implementation
static String get applicationId {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getApplicationId',
);
return resultString['result'];
}