When declaring an Enum primitive, you can use symbol declarations to specify the possible values.
enum (Season) {
description (Names of the seasons)
symbol (Spring)
symbol (Summer)
symbol (Autumn)
symbol (Winter)
}
description optional | Text that describes the defined symbols in a primitive |
Copyright 2025 Samsung All rights reserved