Sample applications measured orientation and acceleration, and interacted with the recording capabilities using the MediaRecorder class.
样例应用程序度量了方向和加速,以及使用 MediaRecorder 类与录制功能进行交互。
2
In the constructor (see Listing 5), initialize the parent class using the $orientation (page orientation), $unit (measurement unit), and $format (page size) that were passed in.