ExperimentalMultiplatform
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
The experimental multiplatform support API marker.
Any usage of a declaration annotated with @ExperimentalMultiplatform
must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalMultiplatform::class)
, or by using the compiler argument -opt-in=kotlin.ExperimentalMultiplatform
.
Since Kotlin
1.1@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.LOCAL_VARIABLE, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.TYPEALIAS] )
The experimental multiplatform support API marker.
Any usage of a declaration annotated with @ExperimentalMultiplatform
must be accepted either by annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalMultiplatform::class)
, or by using the compiler argument -opt-in=kotlin.ExperimentalMultiplatform
.