All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartdevicelink.proxy.rpc.ReleaseInteriorVehicleDataModule Maven / Gradle / Ivy

Go to download

The app library component of SDL is meant to run on the end user’s smart-device from within SDL enabled apps, as an embedded app, or connected to the cloud. App libraries allow the apps to connect to SDL enabled head-units and hardware through bluetooth, USB, and TCP for Android, and cloud and embedded apps can connect through web sockets, Java Beans, and other custom transports. Once the library establishes a connection between the smart device and head-unit through the preferred method of transport, the two components are able to communicate using the SDL defined protocol. The app integrating this library project is then able to expose its functionality to the head-unit through text, media, and other interactive elements.

There is a newer version: 5.7.0
Show newest version
package com.smartdevicelink.proxy.rpc;

import androidx.annotation.NonNull;

import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCRequest;
import com.smartdevicelink.proxy.rpc.enums.ModuleType;

import java.util.Hashtable;

public class ReleaseInteriorVehicleDataModule extends RPCRequest {
    public static final String KEY_MODULE_TYPE = "moduleType";
    public static final String KEY_MODULE_ID = "moduleId";

    public ReleaseInteriorVehicleDataModule() {
        super(FunctionID.RELEASE_INTERIOR_VEHICLE_MODULE.toString());
    }

    public ReleaseInteriorVehicleDataModule(Hashtable hash) {
        super(hash);
    }

    /**
     * @param moduleType Sets the Module Type for this class
     */
    public ReleaseInteriorVehicleDataModule(@NonNull ModuleType moduleType) {
        this();
        setModuleType(moduleType);
    }

    /**
     * Sets the Module Type for this class
     *
     * @param type the Module Type to be set
     */
    public ReleaseInteriorVehicleDataModule setModuleType(@NonNull ModuleType type) {
        setParameters(KEY_MODULE_TYPE, type);
        return this;
    }

    /**
     * Gets the Module Type of this class
     *
     * @return the Module Type of this class
     */
    public ModuleType getModuleType() {
        return (ModuleType) getObject(ModuleType.class, KEY_MODULE_TYPE);
    }

    /**
     * Sets the Module Ids for this class
     *
     * @param id the ids to be set
     */
    public ReleaseInteriorVehicleDataModule setModuleId(String id) {
        setParameters(KEY_MODULE_ID, id);
        return this;
    }

    /**
     * Gets the Module Id of this class
     *
     * @return the Module Ids
     */
    public String getModuleId() {
        return getString(KEY_MODULE_ID);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy