void OnLowResolutionPreviewReady(NikonDevice sender, NikonPreview preview) { if (_lowResolutionPreviewReady != null) { _lowResolutionPreviewReady(sender, preview); } }
void OnPreviewReady(NikonDevice sender, NikonPreview preview) { if (_previewReady != null) { _previewReady(sender, preview); } }
void GetPreviewAndFireEvent(eNkMAIDCapability previewCapabilty, PreviewReadyDelegate d) { NikonArrayWithData previewArray = Object.GetArrayWithData(previewCapabilty); NikonPreview preview = new NikonPreview(previewArray.buffer); Scheduler.Callback(d, this, preview); }
void device_PreviewReady(NikonDevice sender, NikonPreview preview) { Save(preview.JpegBuffer, "preview.jpg"); }
void device_LowResolutionPreviewReady(NikonDevice sender, NikonPreview preview) { Save(preview.JpegBuffer, "preview_lowres.jpg"); }