#import <VLCTime.h>
Provides an object to define VLCMedia's time.
◆ __attribute__
- (NSNumber* numberValue) __attribute__ |
|
((deprecated)) |
|
|
the current time value as NSNumber
- Returns
- the NSNumber object
- Deprecated:
- use value instead
◆ compare:
- (NSComparisonResult) compare: |
|
(VLCTime *) |
aTime |
|
compare the current VLCTime instance against another instance
- Parameters
-
aTime | the VLCTime instance to compare against |
- Returns
- a NSComparisonResult
◆ hash
Calculcate a unique hash for the current time instance
- Returns
- a hash value
◆ initWithInt:
- (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
◆ initWithNumber:
- (instancetype) initWithNumber: |
|
(nullable 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
◆ isEqual:
- (BOOL) isEqual: |
|
(nullable 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
◆ nullTime
factorize an empty time object
- Returns
- the VLCTime object
◆ timeWithInt:
+ (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
◆ timeWithNumber:
+ (VLCTime *) timeWithNumber: |
|
(nullable 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
◆ intValue
the current time value as int value
- Returns
- the int
◆ minuteStringValue
- (NSString*) minuteStringValue |
|
readatomicassign |
the current time value as string value localized for the current environment representing the time in minutes
- Returns
- the NSString object
◆ stringValue
- (NSString*) stringValue |
|
readatomicassign |
the current time value as string value localized for the current environment
- Returns
- the NSString object
◆ value
Holds, in milliseconds, the VLCTime value.
the current time value as NSNumber
- Returns
- the NSNumber object
◆ verboseStringValue
- (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: