Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
PermissionStatus

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)

Constructor 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)

Method 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)

Method Parameters

allowedParameters

toString()

public java.lang.String toString()

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