Skip to main content

Interface ICamera

Interface for camera sensors

Assembly: Meadow.Contracts.dll
View Source
Declaration
public interface ICamera

Methods

CapturePhoto()

Capture a new image

View Source
Declaration
bool CapturePhoto()
Returns

System.Boolean: true if successful### IsPhotoAvailable() Check if there is picture data on the camera

View Source
Declaration
bool IsPhotoAvailable()
Returns

System.Boolean: true is data is available### GetPhotoData() Get the picture data from the camera

View Source
Declaration
Task<byte[]> GetPhotoData()
Returns

System.Threading.Tasks.Task<System.Byte[]>: the picture data as a byte array### GetPhotoStream() Get the picture data from the camera

View Source
Declaration
Task<MemoryStream?> GetPhotoStream()
Returns

System.Threading.Tasks.Task<System.IO.MemoryStream>: the picture data as a memory stream