Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

FacetProvider

public interface FacetProvider

android.support.v17.leanback.widget.FacetProvider
Known Indirect Subclasses


This is the query interface to supply optional features(aka facets) on an object without the need of letting the object to subclass or implement java interfaces.

Summary

Public methods

abstract Object getFacet(Class<?> facetClass)

Queries optional implemented facet.

Public methods

getFacet

added in version 24.1.0
Object getFacet (Class<?> facetClass)

Queries optional implemented facet.

Parameters
facetClass Class: Facet classes to query, examples are: class of ItemAlignmentFacet.

Returns
Object Facet implementation for the facetClass or null if feature not implemented.