PhoneNumberInfo class

Information about a phone number.

Implemented types

Constructors

PhoneNumberInfo.create(String number)
factory
PhoneNumberInfo.fromPtr(Pointer<COMObject> ptr)

Properties

countryCode int
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String
no setteroverride
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
checkNumberMatch(PhoneNumberInfo? otherNumber) PhoneNumberMatchResult
override
detach() → void
Detaches the object from the Finalizer.
inherited
getGeographicRegionCode() String
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getLengthOfGeographicalAreaCode() int
override
getLengthOfNationalDestinationCode() int
override
getNationalSignificantNumber() String
override
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
predictNumberKind() PredictedPhoneNumberKind
override
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

tryParse(String input) → (PhoneNumberParseResult, {PhoneNumberInfo? phoneNumber})
tryParseWithRegion(String input, String regionCode) → (PhoneNumberParseResult, {PhoneNumberInfo? phoneNumber})