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
PermissionElement

Class PermissionElement

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers.permission

Overview

PermissionElement holds the RPC name that the developer wants to add a listener for. It also holds any permission parameters for that RPC that the developer wants to track as well.

Constructors

PermissionElement( FunctionID rpcName, java.util.List<java.lang.String> parameters )

Create a new instance of PermissionElement

public PermissionElement(FunctionID rpcName,java.util.List<java.lang.String> parameters)

Constructor Parameters

rpcName
the name of the RPC
parameters
a list of the RPC parameters

Methods

getRPCName()

Get the RPC name

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

getParameters()

Get the permission parameters for the RPC

public java.util.List getParameters()

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