Controller

@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class Controller(val type: ControllerType)
@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class Controller(val type: ControllerType = ControllerType.Default)

All methods contained by a class annotated with Controller will be added to the generated iOS/Android adapters.

@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class Controller(val type: ControllerType)

Annotation which informs Klutter to implement multiple method channel calls to pass KlutterEvents to this Controller class.

Should be used in conjunction with KomposeController super class.

@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class Controller(val type: ControllerType)

Properties

Link copied to clipboard
actual val type: ControllerType
expect val type: ControllerType
actual val type: ControllerType
actual val type: ControllerType