getAllowOffboardServiceOnExtraChargedNetwork static method
Returns whether a service group type is allowed on metered (extra-charged) networks.
Parameters
serviceType: the ServiceGroupType to query.
Returns
- bool: true when the service type is allowed on metered networks.
Also see:
- SdkSettings.setAllowOffboardServiceOnExtraChargedNetwork to enable or disable a service group on metered networks.
Implementation
static bool getAllowOffboardServiceOnExtraChargedNetwork(
ServiceGroupType serviceType,
) {
final OperationResult resultString = staticMethod(
'SdkSettings',
'getAllowOffboardServiceOnExtraChargedNetwork',
args: serviceType.id,
);
return resultString['result'];
}