RequestCodeHelper

Namespace: XPlat.Helpers

Represents a helper for generating request codes for applications.

public static class RequestCodeHelper

Supported platforms

Platform

Version

.NET Standard

1.4

Xamarin.Android

8.1

Xamarin.iOS

1.0

UWP

10.0

Static Properties

LastRequestCode

Gets the last requested code.

public static int LastRequestCode { get; }

Static Methods

GenerateRequestCode()

Generates an integer request code.

public static int GenerateRequestCode()

Returns

Returns a value ranging from 1 to 65535 (ushort.MaxValue).

Reset()

Resets the request code.

public static void Reset()