I want to capture series of images based on the device orientation (using compass) but my specific requirement is to capture automatically without the need to manually taking photos which is the only way i could find possible. Im using Xamarin.Mobile library and also tried Medai Plugin from Xamarin components .
if (CrossMedia.Current.IsCameraAvailable && CrossMedia.Current.IsTakePhotoSupported)
{
var mediaOptions = new Media.Plugin.Abstractions.StoreCameraMediaOptions()
{
Directory = "Receipts",
Name = "test.jpg"
};
var file = await CrossMedia.Current.TakePhotoAsync(mediaOptions);
}