Template

Template:iOS LifeCycle of SDK

From Engineering Client Portal

Revision as of 21:04, 23 August 2021 by ColinBrown (talk | contribs) (Created page with "== Life cycle of SDK instance == The Life cycle of SDK instance includes four general states: # '''Initial state''' – The SDK is not initialized and hence, not ready to proc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Life cycle of SDK instance

The Life cycle of SDK instance includes four general states:

  1. Initial state – The SDK is not initialized and hence, not ready to process playing information. Once the SDK is moved out of this state, it needs instantiation of the new SDK instance in order to get the instance in the Initial state.
  2. Idle state – The SDK is initialized and is ready to process playing information. Once Initialized, the SDK instance is not processing any data, but is listening for the play event to occur.
  3. Processing state – The SDK instance is processing playing information. API calls "play" and "loadMetadata" move the SDK instance into this state. In this state, the SDK instance will be able to process the API calls (see below)
  4. Disabled state – The SDK instance is disabled and is not processing playing information. SDK instance moves into this state in one of the following scenarios.
    1. Initialization fails
    2. appDisableApi is called
@property (assign) BOOL appDisableApi;

APP SDK Error & Event Codes

To view the Error and Event codes for iOS, please review the App SDK Event Code Reference page.