PlayingRouteExtensions extension

on

Methods

name() String

Available on PlayingRoute, provided by the PlayingRouteExtensions extension

Returns this enum name to be used over the wire with the native side. TODO(luan) other enums use toString(), we should unify.
toggle() PlayingRoute

Available on PlayingRoute, provided by the PlayingRouteExtensions extension

Note: this only makes sense because we have exactly two playing routes. If that ever was to change, this method would need to be removed.