summaryrefslogtreecommitdiff
path: root/sdl_android/src/main/java/com/smartdevicelink/proxy/rpc/enums/SystemCapabilityType.java
blob: 54bd1f932248d3e6b87caf2ab4f3798442a9da90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.smartdevicelink.proxy.rpc.enums;

/**
 * The SystemCapabilityType indicates which type of capability information exists in a SystemCapability struct.
 */

public enum SystemCapabilityType {
    NAVIGATION,

    PHONE_CALL,

    VIDEO_STREAMING,

    AUDIO_STREAMING;

    public static SystemCapabilityType valueForString(String value) {
        try{
            return valueOf(value);
        }catch(Exception e){
            return null;
        }
    }
}