MeiCam SDK For iOS  3.3.1
Instance Methods | List of all members
NvsObject Class Reference

The NvsObject class inherits from the NSObject class in object-c. More...

#import <NvsObject.h>

Inheritance diagram for NvsObject:
NvsAICutter NvsClip NvsFx NvsTimeline NvsTrack NvsAudioClip NvsVideoClip NvsAnimatedSticker NvsAudioFx NvsAudioTransition NvsCaption NvsCaptureAudioFx NvsCaptureVideoFx NvsCompoundCaption NvsTimelineGraphCompositor NvsTimelineVideoFx NvsTrackVideoFx NvsVideoFx NvsVideoTransition NvsAudioTrack NvsVideoTrack

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...
 

Detailed Description

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.

Warning
In the NvsObject class, all public APIs are used in the UI thread! ! !

Method Documentation

◆ getAttachment:

- (NSObject*) getAttachment: (NSString *)  key

Gets attached attachments.

Parameters
keyThe key corresponding to the attachment
Returns
Returns the attachment corresponding to the key.
Since
1.11.1
See also
- setAttachment:forKey:

◆ getTemplateAttachment:

- (NSString*) getTemplateAttachment: (NSString *)  key

Gets an template attachment to NvsObject.

Parameters
keythe key that has been added attachment.(NVS_TEMPLATE_KEY_REPLACE_ID)
Returns
Returns the attachment corresponding to the key.
Since
2.18.1
See also
setTemplateAttachment

◆ setAttachment:forKey:

- (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.

Parameters
keyThe key corresponding to the attachment to be added.
valueAttachment to be added.
Since
1.11.1
See also
- getAttachment:

◆ setTemplateAttachment:forKey:

- (void) setTemplateAttachment: (NSString *)  value
forKey: (NSString *)  key 

Adds additional template data to the NvsObject object to identify the NvsObject template object.

Parameters
keyThe key of the attachment to be added(NVS_TEMPLATE_KEY_REPLACE_ID)
valueAttachment to be added
Since
2.18.1
See also
getTemplateAttachment

The documentation for this class was generated from the following file: