Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class PermissionStatus

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.permission

Overview

PermissionStatus gives a detailed view about whether an RPC and its permission parameters are allowed or not

Constructors

PermissionStatus( FunctionID rpcName, boolean isRPCAllowed, java.util.Map<java.lang.String, java.lang.Boolean> allowedParameters )

Creates a new PermissionStatus instance

public PermissionStatus(FunctionID rpcName,boolean isRPCAllowed,java.util.Map<java.lang.String, java.lang.Boolean> allowedParameters)

Parameters

rpcName
isRPCAllowed
allowedParameters

Methods

getRPCName()

Get the name of the RPC

public com.smartdevicelink.protocol.enums.FunctionID getRPCName()

getIsRPCAllowed()

Get whether the RCP is allowed or not

public boolean getIsRPCAllowed()

setIsRPCAllowed( boolean isRPCAllowed )

Set whether the RPC is allowed or not

protected void setIsRPCAllowed(boolean isRPCAllowed)

Parameters

isRPCAllowed

getAllowedParameters()

Get the status of the permission parameter for the RPC

public java.util.Map getAllowedParameters()

setAllowedParameters( java.util.Map<java.lang.String, java.lang.Boolean> allowedParameters )

Set the status of the permission parameter for the RPC

protected void setAllowedParameters(java.util.Map<java.lang.String, java.lang.Boolean> allowedParameters)

Parameters

allowedParameters

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section