Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Class Methods | |
(nonnull instancetype) | + empty |
(nonnull instancetype) | + of: |
Properties | |
BOOL | isEmpty |
BOOL | hasValue |
BOOL | value |
+ (nonnull instancetype) empty |
Returns empty optional
+ (nonnull instancetype) of: | (BOOL) | aValue |
Creates optional with value
aValue | store optional bool value |
+ (nonnull instancetype) NS_UNAVAILABLE |
- (nonnull instancetype) NS_UNAVAILABLE |
|
readnonatomicassign |
Checks if no value
|
readnonatomicassign |
Checks if has value
|
readnonatomicassign |
Extracts data from optional. Will assert if it's nil!