Class Camera
A class to get information from the available hardware.
Inheritance
System.Object
Camera
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class Camera
Properties
DisplayName
Returns the friendly name of the camera.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
getActiveFormat()
Returns current active format of the camera, if any.
Declaration
public CameraFormat getActiveFormat()
Returns
Type | Description |
---|---|
CameraFormat |
getAvailableFormats()
Returns a list of the available capture formats from the camera.
Declaration
public IReadOnlyList<CameraFormat> getAvailableFormats()
Returns
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<CameraFormat> |
getId()
Returns id of the camera.
Declaration
public string getId()
Returns
Type | Description |
---|---|
System.String |
getName()
Returns the friendly name of the camera.
Declaration
public string getName()
Returns
Type | Description |
---|---|
System.String |
getPosition()
Returns the position of the camera.
Declaration
public CameraPosition getPosition()
Returns
Type | Description |
---|---|
CameraPosition |
setActiveFormat(CameraFormat)
Sets prefered capture format for the camera.
Declaration
public void setActiveFormat(CameraFormat cameraFormat_)
Parameters
Type | Name | Description |
---|---|---|
CameraFormat | cameraFormat_ |