Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The API Key expiration status can be checked with - (BOOL)isApiKeyExpiredWithTypeisApiKeyExpiredForType: method.

Objective-C
Code Block
languageobjective-c
BOOL isApiKeyExpired = [navmiiSDK isApiKeyExpiredWithTypeisApiKeyExpiredForType: NMApiKeyTypeDefault];
Swift
Code Block
languageswift
let isApiKeyExpired = sdk.isApiKeyExpired(withTypeforType: .default)

6. Error handling

...