Intent.GetCharExtra(String, Char) Method
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.
Retrieve extended data from the intent.
[Android.Runtime.Register("getCharExtra", "(Ljava/lang/String;C)C", "GetGetCharExtra_Ljava_lang_String_CHandler")]
public virtual char GetCharExtra (string? name, char defaultValue);
[<Android.Runtime.Register("getCharExtra", "(Ljava/lang/String;C)C", "GetGetCharExtra_Ljava_lang_String_CHandler")>]
abstract member GetCharExtra : string * char -> char
override this.GetCharExtra : string * char -> char
Parameters
- name
- String
The name of the desired item.
- defaultValue
- Char
the value to be returned if no value of the desired type is stored with the given name.
Returns
the value of an item previously added with putExtra(), or the default value if none was found.
- Attributes
Remarks
Retrieve extended data from the intent.
Java documentation for android.content.Intent.getCharExtra(java.lang.String, char)
.
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
See also
- <xref:Android.Content.Intent.PutExtra(System.String%2c+System.Char)>