码迷,mamicode.com
首页 > 其他好文 > 详细

[FireMonkey]获取设备(平台)类型

时间:2016-02-02 14:59:59      阅读:332      评论:0      收藏:0      [点我收藏+]

标签:

uses System.Devices;

      case TDeviceInfo.ThisDevice.DeviceClass of

                   TDeviceInfo.TDeviceClass.Desktop:

                                              ...
                   TDeviceInfo.TDeviceClass.Phone:

                                               ...
                   TDeviceInfo.TDeviceClass.Tablet:

                                               ...

       end;

 

 

    TDeviceClass = (Unknown, Desktop, Phone, MediaPlayer, Tablet, Automotive, Industrial, Embedded, Watch, Glasses, Elf, Dwarf, Wizard);

 

[FireMonkey]获取设备(平台)类型

标签:

原文地址:http://www.cnblogs.com/leamanXZ/p/5177373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!