package com.seewo.sdk;

import com.seewo.sdk.internal.command.common.CmdRestoreGalleryType;
import com.seewo.sdk.internal.command.common.CmdRestoreShotType;
import com.seewo.sdk.internal.command.common.CmdSetGalleryType;
import com.seewo.sdk.internal.command.common.CmdSetShotType;
import com.seewo.sdk.internal.model.SDKResponse;
import com.seewo.sdk.model.SDKShotType;
import com.seewo.sdk.util.ParseUtil;

/* JADX INFO: loaded from: classes.dex */
class InternalPictureHelper {
    static final InternalPictureHelper INSTANCE = new InternalPictureHelper();

    private InternalPictureHelper() {
    }

    boolean setShotType(SDKShotType sDKShotType) {
        SDKResponse sDKResponseSendCommand = OpenSDK.getInstance().sendCommand(new CmdSetShotType(sDKShotType));
        return sDKResponseSendCommand != null && ParseUtil.decodeBooleanResponse(sDKResponseSendCommand);
    }

    boolean restoreShotType() {
        return ParseUtil.decodeBooleanResponse(OpenSDK.getInstance().sendCommand(new CmdRestoreShotType()));
    }

    boolean setGalleryType() {
        return ParseUtil.decodeBooleanResponse(OpenSDK.getInstance().sendCommand(new CmdSetGalleryType()));
    }

    boolean restoreGalleryType() {
        return ParseUtil.decodeBooleanResponse(OpenSDK.getInstance().sendCommand(new CmdRestoreGalleryType()));
    }
}
