Exception: Toybox::System::UnexpectedAppTypeException

Inherits:
Exception
  • Object
show all

Overview

This exception indicates that the app targeted by an Intent when exiting to the app is not an allowed app type.

Allowed app types currently include watch-apps (both native activities and Connect IQ apps) and widgets. Watch faces and data fields cannot be targeted. If a native activity that has a Connect IQ data field configured is targeted, the native app will receive the Intent, not the data field.

See Also:

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

initialize(msg) ⇒ UnexpectedAppTypeException

UnexpectedAppTypeException constructor.

Since:

  • 2.2.0


10052
10053
# File 'Monkeybrains.rb', line 10052

def initialize(msg)
end