int DeviceGetMultitaskingSupported();

 

Returns whether multitasking is supported on the device.

 

Return Value

 

Returns a non-zero value if multitasking is supported, zero otherwise.

 

Remarks

 

DeviceGetMultitaskingSupported() returns whether multitasking is supported on the device.  Multitasking is supported on some, but not all, devices running iOS 4.0 or higher.

 

Windows Simulator NOTE: To provide values for the Windows Simulator, be sure to edit C:\DragonFireSDK\DragonFireSDK.ini and modify the value for MultitaskingSupported in the Device section.

 

Availability

 

Available in DragonFireSDK 1.4 and later.

 

Example

 

#include "DragonFireSDK.h"

 

int MyFont;

int MultitaskingText;

 

int Value;

char TextBuffer[100];

 

void AppMain()

{  

  LandscapeMode();

 

  MyFont = FontAdd("Helvetica", "Regular", 18, 0x00FF00);

 

  Value = DeviceGetMultitaskingSupported();

  if (Value)

     sprintf(TextBuffer, "Multitasking Supported");

  else

     sprintf(TextBuffer, "Multitasking Not Supported");

 

  MultitaskingText = TextAdd(10, 10, TextBuffer, MyFont);

}

 

//===============================================

void OnTimer()

{

 

}

 

//===============================================

void AppExit()

{

 

}