|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
#import <FeatureTemplate.h>
Inherits NSObject.
Instance Methods | |
| (id) | - init |
| (FeatureTemplate *) | - Get: |
| (int) | - GetCount |
| (void) | - Add: |
| (NSMutableDictionary *) | - ToJSON |
| (NSString *) | - ToJSONString |
Class Methods | |
| (FeatureTemplateRepository *) | + FromJSON: |
| (FeatureTemplateRepository *) | + FromJSONString: |
Contains a list of feature templates.
| - (void) Add: | (FeatureTemplate *) | featureTemplate |
Adds new FeatureTemplate object to the repository.
| featureTemplate | FeatureTemplate object |
| + (FeatureTemplateRepository *) FromJSON: | (NSDictionary *) | JSON_data |
Returns FeatureTemplateRepository object out of JSON dictionary.
| JSON_data | JSON string |
| + (FeatureTemplateRepository *) FromJSONString: | (NSString *) | JSON_data |
Returns FeatureTemplateRepository object out of JSON string.
| JSON_data | JSON string |
| - (FeatureTemplate *) Get: | (int) | i |
Returns FeatureTemplate object at index i.
| i | index |
| - (int) GetCount |
Returns total number of stored feature templates.
| - (id) init |
Initializes new FeatureTemplateRepository.
| - (NSMutableDictionary *) ToJSON |
Returns JSON representation out of this FeatureTemplateRepository object
| - (NSString *) ToJSONString |
Returns JSON string out of FeatureTemplateRepository object
| featureTemplateRepository | FeatureTemplateRepository object |