Can `DevicePlatforms` enums be used here?