DeviceMedia
Wisej.Hybrid.DeviceMedia
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides properties and methods to interact with device media.
public class DeviceMedia
Access this class through the Device singleton.
Constructors
DeviceMedia()

Initializes a new instance of DeviceMedia.
Properties
CaptureSupported

Boolean: Gets whether capturing media is supported on the device.
Methods
CapturePhoto(quality)

Takes a photo using the device's camera.
Parameter
Type
Description
Returns: Byte[]. The photo from the device.
CaptureVideo(quality)

Takes a video using the device's camera.
Parameter
Type
Description
Returns: Byte[]. The video stream.
PickPhoto(quality)

Picks a photo from the device's library.
Parameter
Type
Description
Returns: Image. The photo.
PickVideo(quality)

Picks a video from the device.
Parameter
Type
Description
Returns: Byte[]. The device stream.
Last updated