TextClassification.Icon Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an icon that may be rendered on a widget used to act on the classified text.
public Android.Graphics.Drawables.Drawable? Icon { [Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Drawable;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getIcon", "()Landroid/graphics/drawable/Drawable;", "", ApiSince=26)>]
member this.Icon : Android.Graphics.Drawables.Drawable
Property Value
- Attributes
Remarks
Returns an icon that may be rendered on a widget used to act on the classified text.
<strong>NOTE: </strong>This field is not parcelable and only represents the icon of the first RemoteAction
(if one exists) when this object is read from a parcel.
This member is deprecated. Use #getActions()
instead.
Java documentation for android.view.textclassifier.TextClassification.getIcon()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.