Added in API level 14

SpellCheckerInfo


class SpellCheckerInfo : Parcelable
kotlin.Any
   ↳ android.view.textservice.SpellCheckerInfo

This class is used to specify meta information of a spell checker.

Summary

Inherited constants
Public methods
Int

Used to make this class parcelable.

ComponentName!

Return the component of the service that implements.

String!

Return a unique ID for this spell checker.

String!

Return the .

ServiceInfo!

Return the raw information about the Service implementing this spell checker.

String!

Return the class name of an activity that provides a settings UI.

SpellCheckerSubtype!
getSubtypeAt(index: Int)

Return the subtype at the specified index.

Int

Return the count of the subtypes.

Drawable!

Load the user-displayed icon for this spell checker.

CharSequence!

Load the user-displayed label for this spell checker.

Unit
writeToParcel(dest: Parcel, flags: Int)

Used to package this object into a Parcel.

Properties
static Parcelable.Creator<SpellCheckerInfo!>

Used to make this class parcelable.

Public methods

describeContents

Added in API level 14
fun describeContents(): Int

Used to make this class parcelable.

Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

getComponent

Added in API level 14
fun getComponent(): ComponentName!

Return the component of the service that implements.

getId

Added in API level 14
fun getId(): String!

Return a unique ID for this spell checker. The ID is generated from the package and class name implementing the method.

getPackageName

Added in API level 14
fun getPackageName(): String!

Return the .apk package that implements this.

getServiceInfo

Added in API level 14
fun getServiceInfo(): ServiceInfo!

Return the raw information about the Service implementing this spell checker. Do not modify the returned object.

getSettingsActivity

Added in API level 14
fun getSettingsActivity(): String!

Return the class name of an activity that provides a settings UI. You can launch this activity be starting it with an android.content.Intent whose action is MAIN and with an explicit android.content.ComponentName composed of getPackageName and the class name returned here.

A null will be returned if there is no settings activity.

getSubtypeAt

Added in API level 14
fun getSubtypeAt(index: Int): SpellCheckerSubtype!

Return the subtype at the specified index.

Parameters
index Int: the index of the subtype to return.

getSubtypeCount

Added in API level 14
fun getSubtypeCount(): Int

Return the count of the subtypes.

loadIcon

Added in API level 14
fun loadIcon(pm: PackageManager!): Drawable!

Load the user-displayed icon for this spell checker.

Parameters
pm PackageManager!: Supply a PackageManager used to load the spell checker's resources.

loadLabel

Added in API level 14
fun loadLabel(pm: PackageManager!): CharSequence!

Load the user-displayed label for this spell checker.

Parameters
pm PackageManager!: Supply a PackageManager used to load the spell checker's resources.

writeToParcel

Added in API level 14
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Used to package this object into a Parcel.

Parameters
dest Parcel: The Parcel to be written.
flags Int: The flags used for parceling.

Properties

CREATOR

Added in API level 14
static val CREATOR: Parcelable.Creator<SpellCheckerInfo!>

Used to make this class parcelable.