C# 클래스 OpenSphericalCamera.Ricoh.Theta

상속: OscDevice
파일 보기 프로젝트 열기: YuukiMochiduki/Open-Spherical-Camera-For-Unity

공개 프로퍼티들

프로퍼티 타입 설명
DefaultHttpPort string
DefaultIpAddress string

공개 메소드들

메소드 설명
FinishWlan ( Action callback ) : void

Turn off the wireless LAN

GetImage ( string fileUri, DataType type, Error>.Action callback ) : void

Returns a full-size or scaled image given its URI. Input parameters include resolution. This is the only command that should return

GetLivePreview ( Error>.Action callback ) : void

Retrieve live preview bynary data. The data format is "Equirectangular" and "MotionJPEG".

GetVideo ( string fileUri, DataType dataType, Error>.Action callback ) : void

Retrieve video data

ListAll ( int entryCount, string continuationToken, bool detail, string sort, OnCompleteListAll callback ) : void

List all images

SetIpAdress ( string ipAddress, string httpPort ) : void

Set the ipaddress and http port of this Theta object

StartCapture ( Action callback ) : void

Start the interval still image capturing or video recording. Capture mode is selected by captureMode of Option.

StopCapture ( Action callback ) : void

Stop the capturing.

메소드 상세

FinishWlan() 공개 메소드

Turn off the wireless LAN
public FinishWlan ( Action callback ) : void
callback Action Action<Error>
리턴 void

GetImage() 공개 메소드

Returns a full-size or scaled image given its URI. Input parameters include resolution. This is the only command that should return
public GetImage ( string fileUri, DataType type, Error>.Action callback ) : void
fileUri string URI of the target file. Manufacturers decide whether to use absolute or relative URIs. Clients may treat this as an opaque identifier.
type DataType enum DataType { full, thumb }
callback Error>.Action Action<byte[], Error>
리턴 void

GetLivePreview() 공개 메소드

Retrieve live preview bynary data. The data format is "Equirectangular" and "MotionJPEG".
public GetLivePreview ( Error>.Action callback ) : void
callback Error>.Action
리턴 void

GetVideo() 공개 메소드

Retrieve video data
public GetVideo ( string fileUri, DataType dataType, Error>.Action callback ) : void
fileUri string
dataType DataType
callback Error>.Action Action<byte[], Error> callback
리턴 void

ListAll() 공개 메소드

List all images
public ListAll ( int entryCount, string continuationToken, bool detail, string sort, OnCompleteListAll callback ) : void
entryCount int The list of entrys that vender specific of theta.
continuationToken string (Optional) An opaque continuation token of type string, returned by previous listImages call, used to retrieve next images.
detail bool
sort string sort string should be "newest" or "oldest"
callback OnCompleteListAll delegate void OnCompleteListAll(List<ThetaEntry> entries, int totalEntries, string continuationToken, Error error)
리턴 void

SetIpAdress() 공개 메소드

Set the ipaddress and http port of this Theta object
public SetIpAdress ( string ipAddress, string httpPort ) : void
ipAddress string Ip address
httpPort string Http port
리턴 void

StartCapture() 공개 메소드

Start the interval still image capturing or video recording. Capture mode is selected by captureMode of Option.
public StartCapture ( Action callback ) : void
callback Action Action<Error>
리턴 void

StopCapture() 공개 메소드

Stop the capturing.
public StopCapture ( Action callback ) : void
callback Action Action<Error>
리턴 void

프로퍼티 상세

DefaultHttpPort 공개적으로 정적으로 프로퍼티

Default httpport of theta
public static string DefaultHttpPort
리턴 string

DefaultIpAddress 공개적으로 정적으로 프로퍼티

Default ip address of theta
public static string DefaultIpAddress
리턴 string