Udostępnij za pośrednictwem


KeyCharacterMap.GetDeadChar(Int32, Int32) Method

Definition

Get the character that is produced by combining the dead key producing accent with the key producing character c.

[Android.Runtime.Register("getDeadChar", "(II)I", "")]
public static int GetDeadChar (int accent, int c);
[<Android.Runtime.Register("getDeadChar", "(II)I", "")>]
static member GetDeadChar : int * int -> int

Parameters

accent
Int32

The accent character. eg. '`'

c
Int32

The basic character.

Returns

The combined character, or 0 if the characters cannot be combined.

Attributes

Remarks

Get the character that is produced by combining the dead key producing accent with the key producing character c. For example, getDeadChar('`', 'e') returns &egrave;. getDeadChar('^', ' ') returns '^' and getDeadChar('^', '^') returns '^'.

Java documentation for android.view.KeyCharacterMap.getDeadChar(int, int).

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.

Applies to