package org.deviceconnect.android.deviceplugin.theta.core;


public enum SphericalViewApi {

    INSTANCE;

    public synchronized void startImageView(final String imageUri, final Param param,
                                            final SphericalViewRenderer renderer) {
        // TODO Implement.
    }

    public synchronized void updateImageView(final Param param) {
        // TODO Implement.
    }

    public synchronized void stopImageView() {
        // TODO Implement.
    }

    public boolean isStarted() {
        // TODO Implement.
        return false;
    }

    public static class Param {

        private int mViewWidth;

        private int mViewHeight;

        private double mFOV;

        private boolean mIsVRMode;
    }

}

@@ -58,120 +58,780 @@
 ;%0A%0A%0A
-public enum SphericalViewApi %7B%0A%0A    INSTANCE;%0A%0A    public synchronized void startImageView(final String imageUri
+/**%0A * Spherical View API.%0A *%0A * %3Ch2%3EUsage%3C/h2%3E%0A * %3Ccode%3E%0A *     // Obtain Spherical View API.%0A *     ThetaDeviceApplication app = (ThetaDeviceApplication) getApplication();%0A *     SphericalViewApi api = app.getSphericalViewApi();%0A *%0A *     // Start Image View.%0A *     api.startImageView(picture, param, renderer);%0A *%0A *     // Change Image View Settings%0A *     api.updateImageView(newParam);%0A *%0A *     // Stop Image View.%0A *     api.stopImageView();%0A * %3C/code%3E%0A */%0Apublic class SphericalViewApi %7B%0A%0A    public synchronized void startImageView(final String imageUri, final Param param,%0A                                            final SphericalViewRenderer renderer) %7B%0A        // TODO Implement.%0A    %7D%0A%0A    public synchronized void startImageView(final ThetaObject picture
 , fi
@@ -1227,32 +1227,95 @@
 n false;%0A    %7D%0A%0A
+    public byte%5B%5D takeSnapshot() %7B%0A        return null;%0A    %7D%0A%0A
     public stati

Add APIs to SphericalViewApi.