Example usage for android.telecom PhoneAccount getCapabilities

List of usage examples for android.telecom PhoneAccount getCapabilities

Introduction

In this page you can find the example usage for android.telecom PhoneAccount getCapabilities.

Prototype

public int getCapabilities() 

Source Link

Document

The capabilities of this PhoneAccount .

Usage

From source file:Main.java

private static boolean hasCapability(PhoneAccount phoneAccount, int capability) {
    return (phoneAccount != null) && ((phoneAccount.getCapabilities() & capability) == capability);
}