ISPackage Class Reference

Inherits from NSObject
Declared in ISPackage.h

Overview

Class used to represent an INSITEO data package.

  packageType

Package type.

@property (nonatomic, readonly) ISEPackageType packageType

Declared In

ISPackage.h

  version

Package version.

@property (nonatomic, readonly) int version

Declared In

ISPackage.h

  siteId

Package related site identifier.

@property (nonatomic, readonly) int siteId

Declared In

ISPackage.h

  applicationVersion

Package related application version.

@property (nonatomic, readonly) int applicationVersion

Declared In

ISPackage.h

  language

Package related language.

@property (nonatomic, readonly) NSString *language

Declared In

ISPackage.h

+ getPackageType:

Static method used to know if the filename parameter corresponds to a known INSITEO package.

+ (ISEPackageType)getPackageType:(NSString *)filename

Parameters

filename

The filename to test.

Return Value

The related ISEPackageType. Could be UNKNOWN_PACKAGE.

Declared In

ISPackage.h

+ getPackageTypeWithDirectoryName:

Static method used to know if the directoryName parameter corresponds to a known INSITEO package.

+ (ISEPackageType)getPackageTypeWithDirectoryName:(NSString *)directoryName

Parameters

directoryName

The wanted package directory name.

Return Value

The related ISEPackageType. Could be UNKNOWN_PACKAGE.

Declared In

ISPackage.h

+ getDirectoryNameWithType:

Static method used to get the application directory related to a specific package type.

+ (NSString *)getDirectoryNameWithType:(ISEPackageType)type

Parameters

type

Package type to consider.

Return Value

The related directory path. Could be nil.

Declared In

ISPackage.h