CharsetEncoder.OnUnmappableCharacter(CodingErrorAction) 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.
Changes this encoder's action for unmappable-character errors.
[Android.Runtime.Register("onUnmappableCharacter", "(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;", "")]
public Java.Nio.Charset.CharsetEncoder? OnUnmappableCharacter (Java.Nio.Charset.CodingErrorAction? newAction);
[<Android.Runtime.Register("onUnmappableCharacter", "(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;", "")>]
member this.OnUnmappableCharacter : Java.Nio.Charset.CodingErrorAction -> Java.Nio.Charset.CharsetEncoder
Parameters
- newAction
- CodingErrorAction
The new action; must not be null
Returns
This encoder
- Attributes
Exceptions
if the given newAction is null.
Remarks
Changes this encoder's action for unmappable-character errors.
This method invokes the #implOnUnmappableCharacter implOnUnmappableCharacter
method, passing the new action.
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.