ISUserSite Class Reference

Inherits from NSObject
Declared in ISUserSite.h

Overview

Class used to represent a user INSITEO site.

  siteId

External site identifier.

@property (nonatomic, readonly) int siteId

Declared In

ISUserSite.h

  serverType

Server type.

@property (nonatomic, readonly) ISEServerType serverType

Declared In

ISUserSite.h

  label

Site label (its name).

@property (nonatomic, readonly) NSString *label

Declared In

ISUserSite.h

  languages

Site available languages.

@property (nonatomic, readonly) NSArray *languages

Declared In

ISUserSite.h

  versions

Site available versions.

@property (nonatomic, readonly) NSArray *versions

Declared In

ISUserSite.h

  topLeftLatitude

Site bounding rect top left latitude.

@property (nonatomic, readonly) double topLeftLatitude

Declared In

ISUserSite.h

  topLeftLongitude

Site bounding rect top left longitudes.

@property (nonatomic, readonly) double topLeftLongitude

Declared In

ISUserSite.h

  bottomRightLatitude

Site bounding rect bottom right latitude.

@property (nonatomic, readonly) double bottomRightLatitude

Declared In

ISUserSite.h

  bottomRightLongitude

Site bounding rect bottom right longitude.

@property (nonatomic, readonly) double bottomRightLongitude

Declared In

ISUserSite.h

  fExtra1

Site float extra.

@property (nonatomic, readonly) float fExtra1

Declared In

ISUserSite.h

  extra1

Site NSString extra 1.

@property (nonatomic, readonly) NSString *extra1

Declared In

ISUserSite.h

  extra2

Site NSString extra 2.

@property (nonatomic, readonly) NSString *extra2

Declared In

ISUserSite.h

  extra3

Site NSString extra 3.

@property (nonatomic, readonly) NSString *extra3

Declared In

ISUserSite.h

– getLanguagesString

Method used to get an NSString represention of all site languages.

- (NSString *)getLanguagesString

Return Value

NSString represention of all site languages.

Declared In

ISUserSite.h

– getVersionsString

Method used to get an NSString represention of all site versions.

- (NSString *)getVersionsString

Return Value

NSString represention of all site versions.

Declared In

ISUserSite.h

– isLocationInsideWithLatitude:andLongitude:

Method used to know if a lat/long coordinates is inside the site.

- (Boolean)isLocationInsideWithLatitude:(double)latitude andLongitude:(double)longitude

Parameters

latitude

Coordinate latitude to check.

longitude

Coordinate longitude to check.

Return Value

YES if the coordinate is inside, otherwise NO.

Declared In

ISUserSite.h

– getMinDistanceWithLatitude:andLongitude:

Method used to get the minimum distance (in meters) between a lat/long coordinate and the site (4 corners).

- (double)getMinDistanceWithLatitude:(double)latitude andLongitude:(double)longitude

Parameters

latitude

Coordinate latitude to use.

longitude

Coordinate longitude to use.

Return Value

The minimum computed distance.

Declared In

ISUserSite.h