LustroStatus

The result of Lustro.start: whether the debug server is armed.

Entries

Link copied to clipboard

The server is armed: it binds its socket each time the app comes to the foreground, and closes it when the app goes to the background. It does not say that the server listens: Lustro.start also returns it while the app is in the background, before any bind, and a bind can fail, such as on a port that another app holds. Lustro.endpoint is not null while the server listens.

Link copied to clipboard

The server is not armed and opens no socket: the app is not marked debuggable, arming failed, such as for a call off the main thread or two tabs with one id, or the build has the no-op runtime.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard