OperatingSystem.IsAndroid Method

Definition

Indicates whether the current application is running on Android.

public:
 static bool IsAndroid();
public static bool IsAndroid ();
static member IsAndroid : unit -> bool
Public Shared Function IsAndroid () As Boolean

Returns

Boolean

true if the current application is running on Android; false otherwise.

Applies to