$create$ method

  1. @override
CamcorderProfile $create$(
  1. TypeChannelMessenger messenger,
  2. int audioBitRate,
  3. int audioChannels,
  4. int audioCodec,
  5. int audioSampleRate,
  6. int duration,
  7. int fileFormat,
  8. int quality,
  9. int videoBitRate,
  10. int videoCodec,
  11. int videoFrameHeight,
  12. int videoFrameRate,
  13. int videoFrameWidth,
)

Implementation

@override
CamcorderProfile $create$(
  TypeChannelMessenger messenger,
  int audioBitRate,
  int audioChannels,
  int audioCodec,
  int audioSampleRate,
  int duration,
  int fileFormat,
  int quality,
  int videoBitRate,
  int videoCodec,
  int videoFrameHeight,
  int videoFrameRate,
  int videoFrameWidth,
) {
  return CamcorderProfile(
    audioBitRate: audioBitRate,
    audioChannels: audioChannels,
    audioCodec: audioCodec,
    audioSampleRate: audioSampleRate,
    duration: duration,
    fileFormat: fileFormat,
    quality: quality,
    videoBitRate: videoBitRate,
    videoCodec: videoCodec,
    videoFrameHeight: videoFrameHeight,
    videoFrameRate: videoFrameRate,
    videoFrameWidth: videoFrameWidth,
  );
}