IUnicodeMatcher Interface
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.
UnicodeMatcher
defines a protocol for objects that can
match a range of characters in a Replaceable string.
[Android.Runtime.Register("android/icu/text/UnicodeMatcher", "", "Android.Icu.Text.IUnicodeMatcherInvoker", ApiSince=24)]
public interface IUnicodeMatcher : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/icu/text/UnicodeMatcher", "", "Android.Icu.Text.IUnicodeMatcherInvoker", ApiSince=24)>]
type IUnicodeMatcher = interface
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Derived
- Attributes
- Implements
Remarks
UnicodeMatcher
defines a protocol for objects that can match a range of characters in a Replaceable string.
Java documentation for android.icu.text.UnicodeMatcher
.
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.
Fields
Ether |
The character at index i, where i < contextStart || i >= contextLimit, is ETHER. |
Properties
Handle |
Gets the JNI value of the underlying Android object. (Inherited from IJavaObject) |
JniIdentityHashCode |
Returns the value of |
JniManagedPeerState |
State of the managed peer. (Inherited from IJavaPeerable) |
JniPeerMembers |
Member access and invocation support. (Inherited from IJavaPeerable) |
PeerReference |
Returns a JniObjectReference of the wrapped Java object instance. (Inherited from IJavaPeerable) |
Methods
AddMatchSetTo(UnicodeSet) |
Union the set of all characters that may be matched by this object into the given set. |
Disposed() |
Called when the instance has been disposed. (Inherited from IJavaPeerable) |
DisposeUnlessReferenced() |
If there are no outstanding references to this instance, then
calls |
Finalized() |
Called when the instance has been finalized. (Inherited from IJavaPeerable) |
Matches(IReplaceable, Int32[], Int32, Boolean) |
Return a UMatchDegree value indicating the degree of match for the given text at the given offset. |
MatchesIndexValue(Int32) |
Returns true if this matcher will match a character c, where c & 0xFF == v, at offset, in the forward direction (with limit > offset). |
SetJniIdentityHashCode(Int32) |
Set the value returned by |
SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from IJavaPeerable) |
SetPeerReference(JniObjectReference) |
Set the value returned by |
ToPattern(Boolean) |
Returns a string representation of this matcher. |
UnregisterFromRuntime() |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |