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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 float GetSystemVersionAsFloat(); | 44 float GetSystemVersionAsFloat(); |
45 | 45 |
46 // Returns the device type. | 46 // Returns the device type. |
47 // Examples: ”iPhone” and ”iPod touch”. | 47 // Examples: ”iPhone” and ”iPod touch”. |
48 std::string GetDeviceType(); | 48 std::string GetDeviceType(); |
49 | 49 |
50 // Returns a more detailed device name. | 50 // Returns a more detailed device name. |
51 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". | 51 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". |
52 std::string GetDeviceName(); | 52 std::string GetDeviceName(); |
53 | 53 |
| 54 // Returns the name of the process. Does not uniquely identify the process. |
| 55 std::string GetProcessName(); |
| 56 |
| 57 // Returns the identifier of the process (often called process ID). |
| 58 int GetProcessID(); |
| 59 |
| 60 // Returns a string containing the version of the operating system on which the |
| 61 // process is executing. The string is string is human readable, localized, and |
| 62 // is appropriate for displaying to the user. |
| 63 std::string GetOSVersionString(); |
| 64 |
| 65 // Returns the number of processing cores available on the device. |
| 66 int GetProcessorCount(); |
| 67 |
| 68 // Indicates whether Low Power Mode is enabled on the iOS device. |
| 69 bool GetLowPowerModeEnabled(); |
| 70 |
54 } // namespace ios | 71 } // namespace ios |
55 } // namespace webrtc | 72 } // namespace webrtc |
56 | 73 |
57 #endif // defined(WEBRTC_IOS) | 74 #endif // defined(WEBRTC_IOS) |
58 | 75 |
59 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ | 76 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_ |
OLD | NEW |