Supplies class instances with a key-value mapping to support dynamic property storage. More...
Instance Methods | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
Class Methods | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
Supplies class instances with a key-value mapping to support dynamic property storage.
+ (FMLiveSwitchDynamic*) dynamic |
Gets all dynamic properties on this instance.
Gets a property value from the local cache.
key | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchSerializable class.
Implements FMLiveSwitchSerializable.
Implemented in FMLiveSwitchXirSysV3IceServer, FMLiveSwitchXirSysV2IceServer, FMLiveSwitchWebSocketStreamFailureArgs, FMLiveSwitchWebSocketSendArgs, FMLiveSwitchWebSocketReceiveArgs, FMLiveSwitchWebSocketOpenSuccessArgs, FMLiveSwitchWebSocketOpenFailureArgs, FMLiveSwitchWebSocketOpenArgs, FMLiveSwitchWebSocketCloseCompleteArgs, FMLiveSwitchWebSocketCloseArgs, FMLiveSwitchTransport, FMLiveSwitchStunServer, FMLiveSwitchStatControlFrame, FMLiveSwitchSRControlFrame, FMLiveSwitchSliControlFrame, FMLiveSwitchSignallingSuccessArgs, FMLiveSwitchSignallingServiceArgs, FMLiveSwitchSignallingServerUnsubscribeArgs, FMLiveSwitchSignallingServerSubscribeArgs, FMLiveSwitchSignallingServerArgs, FMLiveSwitchSignallingOutputArgs, FMLiveSwitchSignallingMessageBase, FMLiveSwitchSignallingInputArgs, FMLiveSwitchSignallingFailureArgs, FMLiveSwitchSignallingExtensions, FMLiveSwitchSignallingExtensible, FMLiveSwitchSignallingDisconnectCompleteArgs, FMLiveSwitchSignallingDisconnectArgs, FMLiveSwitchSignallingConnectSuccessArgs, FMLiveSwitchSignallingConnectFailureArgs, FMLiveSwitchSignallingConnectArgs, FMLiveSwitchSignallingCompleteArgs, FMLiveSwitchSignallingClientResponse, FMLiveSwitchSignallingClientRequest, FMLiveSwitchSdesControlFrame, FMLiveSwitchRRControlFrame, FMLiveSwitchRpsiControlFrame, FMLiveSwitchPliControlFrame, FMLiveSwitchMediaTrackBase, FMLiveSwitchMediaSourceBase, FMLiveSwitchMediaSinkBase, FMLiveSwitchMediaControlFrame, FMLiveSwitchLayoutPreset, FMLiveSwitchIceSendResponseSuccessArgs, FMLiveSwitchIceSendResponseFailureArgs, FMLiveSwitchIceSendResponseCompleteArgs, FMLiveSwitchIceSendRequestCompleteArgs, FMLiveSwitchIceSendRequestBeforeSendArgs, FMLiveSwitchHttpWebRequestSender, FMLiveSwitchHttpRequestArgs, FMLiveSwitchGenericNackControlFrame, FMLiveSwitchByeControlFrame, and FMLiveSwitchAppControlFrame.
Sets a property value in the local cache.
key | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
value | The property value. This can be any object that needs to be stored for future use. |
- (bool) unsetDynamicValueWithKey: | (NSString *) | key |
Removes a property value from the local cache.
Returns true if the value was removed and returns false otherwise.
key | The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions. |
true
if the value was removed; otherwise, false
.