#import <VLCTime.h>
Provides an object to define VLCMedia's time.
- (NSNumber* numberValue) __attribute__ |
|
((deprecated)) |
|
|
the current time value as NSNumber
- Returns
- the NSNumber object
- Deprecated:
- use value instead
- (NSComparisonResult) compare: |
|
(VLCTime *) |
aTime |
|
compare the current VLCTime instance against another instance
- Parameters
-
aTime | the VLCTime instance to compare against |
- Returns
- a NSComparisonResult
Calculcate a unique hash for the current time instance
- Returns
- a hash value
- (instancetype) initWithInt: |
|
(int) |
aInt |
|
init a time object with a given integer
- Parameters
-
aInt | the int with a time in milliseconds |
- Returns
- the VLCTime object
- (instancetype) initWithNumber: |
|
(NSNumber *) |
aNumber |
|
init a time object with a given number object
- Parameters
-
aNumber | the NSNumber object with a time in milliseconds |
- Returns
- the VLCTime object
- (BOOL) isEqual: |
|
(id) |
object |
|
compare the current VLCTime instance against another instance
- Parameters
-
object | the VLCTime instance to compare against |
- Returns
- a BOOL whether the instances are equal or not
factorize an empty time object
- Returns
- the VLCTime object
+ (VLCTime *) timeWithInt: |
|
(int) |
aInt |
|
factorize a time object with a given integer
- Parameters
-
aInt | the int with a time in milliseconds |
- Returns
- the VLCTime object
+ (VLCTime *) timeWithNumber: |
|
(NSNumber *) |
aNumber |
|
factorize a time object with a given number object
- Parameters
-
aNumber | the NSNumber object with a time in milliseconds |
- Returns
- the VLCTime object
the current time value as int value
- Returns
- the int
- (NSString*) minuteStringValue |
|
readatomicassign |
the current time value as string value localized for the current environment representing the time in minutes
- Returns
- the NSString object
- (NSString*) stringValue |
|
readatomicassign |
the current time value as string value localized for the current environment
- Returns
- the NSString object
Holds, in milliseconds, the VLCTime value.
the current time value as NSNumber
- Returns
- the NSNumber object
- (NSString*) verboseStringValue |
|
readatomicassign |
the current time value as verbose string value localized for the current environment
- Returns
- the NSString object
The documentation for this class was generated from the following file: