Example usage for android.view.accessibility AccessibilityNodeInfo setContentDescription

List of usage examples for android.view.accessibility AccessibilityNodeInfo setContentDescription

Introduction

In this page you can find the example usage for android.view.accessibility AccessibilityNodeInfo setContentDescription.

Prototype

public void setContentDescription(CharSequence contentDescription) 

Source Link

Document

Sets the content description of this node.

Usage

From source file:com.android.switchaccess.test.ShadowAccessibilityNodeInfoCompat.java

@Implementation
public void setContentDescription(String contentDescription) {
    final AccessibilityNodeInfo info = (AccessibilityNodeInfo) mRealObject.getInfo();
    info.setContentDescription(contentDescription);
}