Android APIs
public static class

AccessibilityNodeInfoCompat.AccessibilityActionCompat

extends Object
java.lang.Object
   ↳ android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat

Summary

Public Constructors
AccessibilityNodeInfoCompat.AccessibilityActionCompat(int actionId, CharSequence label)
Creates a new instance.
Public Methods
int getId()
Gets the id for this action.
CharSequence getLabel()
Gets the label for this action.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AccessibilityNodeInfoCompat.AccessibilityActionCompat (int actionId, CharSequence label)

Creates a new instance.

Parameters
actionId The action id.
label The action label.

Public Methods

public int getId ()

Gets the id for this action.

Returns
  • The action id.

public CharSequence getLabel ()

Gets the label for this action. Its purpose is to describe the action to user.

Returns
  • The label.