OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 // Returns [NSThread currentThread] description as string. | 31 // Returns [NSThread currentThread] description as string. |
32 // Example: <NSThread: 0x170066d80>{number = 1, name = main} | 32 // Example: <NSThread: 0x170066d80>{number = 1, name = main} |
33 std::string GetCurrentThreadDescription(); | 33 std::string GetCurrentThreadDescription(); |
34 | 34 |
35 std::string GetAudioSessionCategory(); | 35 std::string GetAudioSessionCategory(); |
36 | 36 |
37 // Returns the current name of the operating system. | 37 // Returns the current name of the operating system. |
38 std::string GetSystemName(); | 38 std::string GetSystemName(); |
39 | 39 |
40 // Returns the current version of the operating system. | 40 // Returns the current version of the operating system as a string. |
41 std::string GetSystemVersion(); | 41 std::string GetSystemVersionAsString(); |
42 | 42 |
43 // Returns the version of the operating system as a floating point value. | 43 // Returns the version of the operating system in double representation. |
44 float GetSystemVersionAsFloat(); | 44 // Uses a cached value of the system version. |
| 45 double GetSystemVersion(); |
45 | 46 |
46 // Returns the device type. | 47 // Returns the device type. |
47 // Examples: ”iPhone” and ”iPod touch”. | 48 // Examples: ”iPhone” and ”iPod touch”. |
48 std::string GetDeviceType(); | 49 std::string GetDeviceType(); |
49 | 50 |
50 // Returns a more detailed device name. | 51 // Returns a more detailed device name. |
51 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". | 52 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". |
52 std::string GetDeviceName(); | 53 std::string GetDeviceName(); |
53 | 54 |
54 // Returns the name of the process. Does not uniquely identify the process. | 55 // Returns the name of the process. Does not uniquely identify the process. |
(...skipping 12 matching lines...) Expand all Loading... |
67 | 68 |
68 // Indicates whether Low Power Mode is enabled on the iOS device. | 69 // Indicates whether Low Power Mode is enabled on the iOS device. |
69 bool GetLowPowerModeEnabled(); | 70 bool GetLowPowerModeEnabled(); |
70 | 71 |
71 } // namespace ios | 72 } // namespace ios |
72 } // namespace webrtc | 73 } // namespace webrtc |
73 | 74 |
74 #endif // defined(WEBRTC_IOS) | 75 #endif // defined(WEBRTC_IOS) |
75 | 76 |
76 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ | 77 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ |
OLD | NEW |