code: def screenrecord(self, bit_rate: int = 5000000, time_limit: int = 180, filename: _PATH = '/sdcard/demo.mp4') -> None:
          '''Recording the display of devices running Android 4.4 (API level 19) and higher.
  
          Args:
              bit_rate:You can increase the bit rate to improve video quality, but doing so results in larger movie files.
              time_limit: Sets the maximum recording time, in seconds, and the maximum value is 180 (3 minutes).
          '''
          self._execute('-s', self.device_sn, 'shell',
                        'screenrecord', '--bit-rate', str(bit_rate), '--time-limit', str(time_limit), filenamef screenrecord(self, bit_rate: int = 5000000, time_limit: int = 180, filename: _PATH = '/sdcard/demo.mp4') -> None:
          '''Recording the display of devices running Android 4.4 (API level 19) and higher.
  
          Args:
              bit_rate:You can increase the bit rate to improve video quality, but doing so results in larger movie files.
              time_limit: Sets the maximum recording time, in seconds, and the maximum value is 180 (3 minutes).
          '''
          self._execute('-s', self.device_sn, 'shell',
                        'screenrecord', '--bit-rate', str(bit_rate), '--time-limit', str(time_limit), filename)
docs: Recording the display of devices running Android 4.4 (API level 19) and higher.
  
          Args:
              bit_rate:You can increase the bit rate to improve video quality, but doing so results in larger movie files.
              time_limit: Sets the maximum recording time, in seconds, and the maximum value is 180 (3 minutes).