Javascript DECL - Documentation

Javascript DECL - Documentation

MedWand is pleased to announce the BETA-3 v0.0.0.3 release of our DECL for Web developers. The library file is located here ("SampleApp/wwwroot/assets/js/MWSDK.Javascript.js") in the sample app during our beta program. Afterwards, it will be removed from the sample application and released via the NuGet platform.

Beta-3 v0.0.0.3 Includes changes to the Browser/JavaScript Sample Application to support the below items.
1. Add: Support for camera functionality.
2. Fix: MedWandController.StartEcg(): Promise<boolean>
   // Removed optional canvas parameter as redundant.
   // This is supplied through MedWandController.Configure(ecgCanvas)
3. Diff: MedWandController.SetCameraMode(previewTarget: HTMLVideoElement | HTMLCanvasElement | null, cameraMode: CameraModes): Promise<boolean>
   // Windows accepts a WPF Image as the preview target.
   // Returns a Promise for browser compatibility with using the Web Serial API.
4. Diff: CameraSetLedIntensity(value: number): Promise<void>
   // Returns a Promise for browser compatibility with using the Web Serial API.
5. Diff: MedWandController.CameraSetFocusMode(focusMode: FocusModes, resetLastValue = false): Promise<boolean>
   // Returns a Promise for browser compatibility with using the Web Serial API
6. Diff: MedWandController.CameraSetFocusValue(value: number): Promise<boolean>
   // Returns a Promise for browser compatibility with using the Web Serial API.

During this BETA release window, and up to a final Production release, developers are welcome to begin working with the JavaScript library and sample application. NOTE: You must have already been provided with a MedWand Developer License to use this library.

The JavaScript library is not yet fully documented but developers who have begun using our Windows & Android libraries will find it straight forward and very similar to the current documentation. MedWand will be releasing full documentation as we progress through the BETA release program. Full technical support will not be available until the BETA program ends and the Production release is published. Please contact your MedWand sales representative for additional details.

Download the sample application from the MedWand GitHub Repository:
MedWand intends to release a new final Production JavaScript DECL over the next 30-60 days. Please follow this article to receive updates and notifications when new versions of the Android Native BETA become available.

Looking for the Javascript-Remote (Javascript to handle remote data from our other DECL products.) Click Here