1: <?php
2:
3: namespace NNV\OneSignal\Constants;
4:
5: /**
6: * This class containt device types of OneSignal
7: */
8: class DeviceTypes
9: {
10:
11: /**
12: * iOS
13: */
14: const IOS = 0;
15:
16: /**
17: * Android
18: */
19: const ANDROID = 1;
20:
21: /**
22: * Amazon
23: */
24: const AMAZON = 2;
25:
26: /**
27: * Windows Phone (MPNS)
28: */
29: const WINDOWS_PHONE_MPNS = 3;
30:
31: /**
32: * Chrome apps/extensions
33: */
34: const CHROME_APP = 4;
35:
36: /**
37: * Chrome web push
38: */
39: const CHROME_WEBSITE = 5;
40:
41: /**
42: * Windows phone (WNS)
43: */
44: const WINDOWS_PHONE_WNS = 6;
45:
46: /**
47: * Safari
48: */
49: const SAFARI = 7;
50:
51: /**
52: * Firefox
53: */
54: const FIREFOX = 8;
55:
56: /**
57: * Mac OS
58: */
59: const MAC_OS = 9;
60:
61: }
62: