AdjustSdk.Uap.UtilUap.GetDeviceType C# (CSharp) Метод

GetDeviceType() публичный статический Метод

public static GetDeviceType ( ) : string
Результат string
        public static string GetDeviceType()
        {
            var deviceType = SystemInfoEstimate.GetDeviceCategoryAsync().Result;
            switch (deviceType)
            {
                case "Computer.Lunchbox": return "pc";
                case "Computer.Tablet": return "tablet";
                case "Computer.Portable": return "phone";
                default: return "unknown";
            }
        }

Same methods

UtilUap::GetDeviceType ( EasClientDeviceInformation deviceInfo ) : string