Version: 2022.2

Device.generation

切换到手册
public static tvOS.DeviceGeneration generation ;

描述

设备世代。(只读)

For information on the possible values, see DeviceGeneration.