Start Recording

This starts recording and have an option to pass if microphone needs to be enabled.

On Android, microphone is always enabled internally as Google won't support recording internal/game audio on Android platform. So the game music will be recorded only through microphone. In upcoming updates we will come up with an option to add custom music incase if audio through microphone recording is not yielding better results.

ReplayKitManager.StartRecording(true/false);// Pass true or false to enable microphone

Example

public void StartRecording(bool enableMicrophone)
{
ReplayKitManager.StartRecording(enableMicrophone);
}

Receive events of recording state by registering to DidRecordingStateChange event. More Info here.