Class DispatchSource

    • Constructor Detail

      • DispatchSource

        protected DispatchSource()
    • Method Detail

      • setEventHandler

        public void setEventHandler​(java.lang.Runnable handler)
        Since:
        Available in iOS 4.0 and later.
      • setCancelHandler

        public void setCancelHandler​(java.lang.Runnable handler)
        Since:
        Available in iOS 4.0 and later.
      • cancel

        public void cancel()
        Since:
        Available in iOS 4.0 and later.
      • testCancel

        public long testCancel()
        Since:
        Available in iOS 4.0 and later.
      • getSourceHandle

        public long getSourceHandle()
        Since:
        Available in iOS 4.0 and later.
      • getMask

        public long getMask()
        Since:
        Available in iOS 4.0 and later.
      • getData

        public long getData()
        Since:
        Available in iOS 4.0 and later.
      • mergeData

        public void mergeData​(long value)
        Since:
        Available in iOS 4.0 and later.
      • setTimer

        public void setTimer​(long start,
                             long interval,
                             long leeway)
        Since:
        Available in iOS 4.0 and later.
      • setRegistrationHandler

        public void setRegistrationHandler​(java.lang.Runnable handler)
        Since:
        Available in iOS 4.3 and later.