Class GKARC4RandomSource

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, GKRandom, ObjCProtocol

public class GKARC4RandomSource
extends GKRandomSource
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • GKARC4RandomSource

      public GKARC4RandomSource()
    • GKARC4RandomSource

      protected GKARC4RandomSource​(NSObject.Handle h, long handle)
    • GKARC4RandomSource

      protected GKARC4RandomSource​(NSObject.SkipInit skipInit)
    • GKARC4RandomSource

      public GKARC4RandomSource​(NSData seed)
    • GKARC4RandomSource

      public GKARC4RandomSource​(NSCoder coder)
  • Method Details

    • getSeed

      public NSData getSeed()
    • setSeed

      public void setSeed​(NSData v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(NSData seed)
    • dropValues

      public void dropValues​(long count)
    • getSharedRandom

      public static GKRandomSource getSharedRandom()