wrap

@Nullable
open fun wrap(@Nullable textAttribute: @Nullable Any): @Nullable TextAttributeCompat

Creates an instance from a framework android.view.inputmethod.TextAttribute object.

Return

an equivalent TextAttributeCompat object, or null if not supported.

Parameters

textAttribute