GPKGMetadata
Objective-C
@interface GPKGMetadata : NSObject <NSMutableCopying>
Swift
class GPKGMetadata : NSObject, NSMutableCopying
Contains metadata in MIME encodings structured in accordance with any authoritative metadata specification
-
Metadata primary key
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *id;
Swift
var id: NSNumber! { get set }
-
Case sensitive name of the data scope to which this metadata applies; see Metadata Scopes below
Declaration
Objective-C
@property (nonatomic, strong) NSString *scope;
Swift
var scope: String! { get set }
-
URI reference to the metadata structure definition authority
Declaration
Objective-C
@property (nonatomic, strong) NSString *standardUri;
Swift
var standardUri: String! { get set }
-
MIME encoding of metadata
Declaration
Objective-C
@property (nonatomic, strong) NSString *mimeType;
Swift
var mimeType: String! { get set }
-
metadata
Declaration
Objective-C
@property (nonatomic, strong) NSString *metadata;
Swift
var metadata: String! { get set }
-
Get the metadata scope type
Declaration
Objective-C
- (enum GPKGMetadataScopeType)metadataScopeType;
Swift
func metadataScopeType() -> GPKGMetadataScopeType
Return Value
metadata scope type
-
Set the metadata scope type
Declaration
Objective-C
- (void)setMetadataScopeType:(enum GPKGMetadataScopeType)scopeType;
Swift
func setMetadataScopeType(_ scopeType: GPKGMetadataScopeType)
Parameters
scopeType
metadata scope type
-
Get the metadata scope from the metadata scope type
Declaration
Objective-C
+ (GPKGMetadataScope *)fromScopeType:(enum GPKGMetadataScopeType)type;
Swift
class func fromScopeType(_ type: GPKGMetadataScopeType) -> GPKGMetadataScope!
Parameters
type
metadata scope type
Return Value
metadata scope