Package org.robovm.apple.foundation
Class NSProgress
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSProgress
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSProgress extends NSObject
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSProgress.NSProgressPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSProgress()
NSProgress(long unitCount)
NSProgress(long unitCount, boolean discrete)
NSProgress(long unitCount, NSProgress parent, long portionOfParentTotalUnitCount)
protected
NSProgress(NSObject.Handle h, long handle)
protected
NSProgress(NSObject.SkipInit skipInit)
NSProgress(NSProgress parentProgressOrNil, NSProgressUserInfo userInfoOrNil)
-
Method Summary
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSProgress
public NSProgress()
-
NSProgress
protected NSProgress(NSObject.Handle h, long handle)
-
NSProgress
protected NSProgress(NSObject.SkipInit skipInit)
-
NSProgress
public NSProgress(NSProgress parentProgressOrNil, NSProgressUserInfo userInfoOrNil)
-
NSProgress
public NSProgress(long unitCount)
-
NSProgress
public NSProgress(long unitCount, NSProgress parent, long portionOfParentTotalUnitCount)
- Since:
- Available in iOS 9.0 and later.
-
NSProgress
public NSProgress(long unitCount, boolean discrete)
- Since:
- Available in iOS 9.0 and later.
-
-
Method Detail
-
getTotalUnitCount
public long getTotalUnitCount()
-
setTotalUnitCount
public void setTotalUnitCount(long v)
-
getCompletedUnitCount
public long getCompletedUnitCount()
-
setCompletedUnitCount
public void setCompletedUnitCount(long v)
-
getLocalizedDescription
public java.lang.String getLocalizedDescription()
-
setLocalizedDescription
public void setLocalizedDescription(java.lang.String v)
-
getLocalizedAdditionalDescription
public java.lang.String getLocalizedAdditionalDescription()
-
setLocalizedAdditionalDescription
public void setLocalizedAdditionalDescription(java.lang.String v)
-
isCancellable
public boolean isCancellable()
-
setCancellable
public void setCancellable(boolean v)
-
isPausable
public boolean isPausable()
-
setPausable
public void setPausable(boolean v)
-
isCancelled
public boolean isCancelled()
-
isPaused
public boolean isPaused()
-
getCancellationHandler
public java.lang.Runnable getCancellationHandler()
-
setCancellationHandler
public void setCancellationHandler(java.lang.Runnable v)
-
getPausingHandler
public java.lang.Runnable getPausingHandler()
-
setPausingHandler
public void setPausingHandler(java.lang.Runnable v)
-
getResumingHandler
public java.lang.Runnable getResumingHandler()
- Since:
- Available in iOS 9.0 and later.
-
setResumingHandler
public void setResumingHandler(java.lang.Runnable v)
- Since:
- Available in iOS 9.0 and later.
-
isIndeterminate
public boolean isIndeterminate()
-
getFractionCompleted
public double getFractionCompleted()
-
isFinished
public boolean isFinished()
-
getUserInfo
public NSProgressUserInfo getUserInfo()
-
getKind
public NSProgressKind getKind()
-
setKind
public void setKind(NSProgressKind v)
-
getEstimatedTimeRemaining
public NSNumber getEstimatedTimeRemaining()
- Since:
- Available in iOS 11.0 and later.
-
setEstimatedTimeRemaining
public void setEstimatedTimeRemaining(NSNumber v)
- Since:
- Available in iOS 11.0 and later.
-
getThroughput
public NSNumber getThroughput()
- Since:
- Available in iOS 11.0 and later.
-
setThroughput
public void setThroughput(NSNumber v)
- Since:
- Available in iOS 11.0 and later.
-
getFileOperationKind
public java.lang.String getFileOperationKind()
- Since:
- Available in iOS 11.0 and later.
-
setFileOperationKind
public void setFileOperationKind(java.lang.String v)
- Since:
- Available in iOS 11.0 and later.
-
getFileURL
public NSURL getFileURL()
- Since:
- Available in iOS 11.0 and later.
-
setFileURL
public void setFileURL(NSURL v)
- Since:
- Available in iOS 11.0 and later.
-
getFileTotalCount
public NSNumber getFileTotalCount()
- Since:
- Available in iOS 11.0 and later.
-
setFileTotalCount
public void setFileTotalCount(NSNumber v)
- Since:
- Available in iOS 11.0 and later.
-
getFileCompletedCount
public NSNumber getFileCompletedCount()
- Since:
- Available in iOS 11.0 and later.
-
setFileCompletedCount
public void setFileCompletedCount(NSNumber v)
- Since:
- Available in iOS 11.0 and later.
-
putUserInfoObject
public void putUserInfoObject(java.lang.String key, NSObject value)
-
putUserInfoObject
public void putUserInfoObject(NSProgressUserInfoKey key, NSObject value)
-
init
protected long init(NSProgress parentProgressOrNil, NSProgressUserInfo userInfoOrNil)
-
becomeCurrent
public void becomeCurrent(long unitCount)
-
performAsCurrent
public void performAsCurrent(long unitCount, java.lang.Runnable work)
- Since:
- Available in iOS 11.0 and later.
-
resignCurrent
public void resignCurrent()
-
addChild
public void addChild(NSProgress child, long inUnitCount)
- Since:
- Available in iOS 9.0 and later.
-
cancel
public void cancel()
-
pause
public void pause()
-
resume
public void resume()
- Since:
- Available in iOS 9.0 and later.
-
getCurrentProgress
public static NSProgress getCurrentProgress()
-
create
protected static long create(long unitCount)
-
createDiscrete
protected static long createDiscrete(long unitCount)
- Since:
- Available in iOS 9.0 and later.
-
create
protected static long create(long unitCount, NSProgress parent, long portionOfParentTotalUnitCount)
- Since:
- Available in iOS 9.0 and later.
-
-