xamarinmac
namespace GameplayKit
{
    [Introduced(PlatformName.iOS, 9, 0, PlatformArchitecture.All, null)]
    [Introduced(PlatformName.MacOSX, 10, 11, PlatformArchitecture.All, null)]
    [Protocol(Name = "GKRandom", WrapperType = typeof(GKRandomWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextInt", ReturnType = typeof(nint), Selector = "nextInt")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextUniform", ReturnType = typeof(float), Selector = "nextUniform")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextBool", ReturnType = typeof(bool), Selector = "nextBool")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetNextInt", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(nuint) }, ReturnType = typeof(nuint), Selector = "nextIntWithUpperBound:")]
    public interface IGKRandom : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("nextIntWithUpperBound:")]
        [Preserve(Conditional = true)]
        nuint GetNextInt(nuint upperBound);
    }
}
Xamarin iOS 0.0
Xamarin macOS 0.0
Xamarin tvOS 0.0
Information specific to xamarinmac
Assembly

Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API

12/25/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙