Skip to content

Enum types are not used for arguments and properties in the api.json #93

Description

@vonagam

Question about api.json:
Why enum types are presented as such only in return_type and shown as int everywhere else?

Random example: OS has screen_orientation property with type of enum OS.ScreenOrientation, but this enum is presented only in return_type for getter, while set_screen_orientation has an argument orientation of type int and property itself typed as int too.

In documentation there is no such discrepancy everything that is enum has enum attribute.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions