MeiCam SDK For iOS
3.14.0
|
The NvsObject class inherits from the NSObject class in object-c. More...
#import <NvsObject.h>
Instance Methods | |
(void) | - setAttachment:forKey: |
Adds an attachment to the NvsObject object to identify the object of the NvsObject or for other purposes. More... | |
(void) | - setTemplateAttachment:forKey: |
Adds additional template data to the NvsObject object to identify the NvsObject template object. More... | |
(NSObject *) | - getAttachment: |
Gets attached attachments. More... | |
(NSString *) | - getTemplateAttachment: |
Gets an template attachment to NvsObject. More... | |
The NvsObject class inherits from the NSObject class in object-c.
The NvsObject class is the base class for most classes in the SDK. Through the NvsObject class, other classes inherit some basic interface with the object-c language compilation system and get the ability to behave as an object in its instance.
- (NSObject*) getAttachment: | (NSString *) | key |
Gets attached attachments.
key | The key corresponding to the attachment |
- (NSString*) getTemplateAttachment: | (NSString *) | key |
Gets an template attachment to NvsObject.
key | the key that has been added attachment.(NVS_TEMPLATE_KEY_REPLACE_ID) |
- (void) setAttachment: | (NSObject *) | value | |
forKey: | (NSString *) | key | |
Adds an attachment to the NvsObject object to identify the object of the NvsObject or for other purposes.
key | The key corresponding to the attachment to be added. |
value | Attachment to be added. |
- (void) setTemplateAttachment: | (NSString *) | value | |
forKey: | (NSString *) | key | |
Adds additional template data to the NvsObject object to identify the NvsObject template object.
key | The key of the attachment to be added(NVS_TEMPLATE_KEY_REPLACE_ID) |
value | Attachment to be added |