var display_data as Array<Number> = [0, 0, 0, 0, 0x627, 0x5E5, 5, 5, 0, 0, 82800, 27000, 30, 100, 0, 0, 0, 0, 25, 105, 0, 0];
in onLayout function
display_data[10] = userprofile.sleepTime;
display_data[11] = userprofile.wakeTime;
display_data[10] = userprofile.sleepTime.mDateTime;
Error: Symbol Not Found Error
Details: Could not find symbol 'mDateTime'
Stack:
- onLayout() at C:\SOURCES\Garmin\DeviceWatch\DeviceWatch\source\DeviceWatchView.mc:77 0x10000698
Encountered app crash.
breaking in display_data[11] and looking at display_data[10] gives the following:
Duration
82800 (Lang.Number)
display_data.[10].mDateTime
How to get the actual number.