Java.Lang.Package.IsCompatibleWith Method
Indicates whether this package's specification version is compatible with the specified version string.

Syntax

[Android.Runtime.Register("isCompatibleWith", "(Ljava/lang/String;)Z", "GetIsCompatibleWith_Ljava_lang_String_Handler")]
public virtual bool IsCompatibleWith (string version)

Parameters

version
the version string to compare against.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NumberFormatExceptionif this package's version string or the one provided are not in the correct format.

Remarks

Indicates whether this package's specification version is compatible with the specified version string. Version strings are compared by comparing each dot separated part of the version as an integer.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1