WoosmapIndoorUtils Class Reference
Inherits from | NSObject |
---|---|
Declared in | WoosmapIndoorUtils.h |
mapRotationMode
Rotation Mode
@property (nonatomic, retain) NSNumber *mapRotationMode
Discussion
Rotation Mode
Declared In
WoosmapIndoorUtils.h
mapuseIndoorAtlas
Use Indoor Atlas
@property (nonatomic, retain) NSNumber *mapuseIndoorAtlas
Discussion
Use Indoor Atlas
Declared In
WoosmapIndoorUtils.h
MapScale
Map Scale
@property (nonatomic, retain) NSNumber *MapScale
Discussion
Map Scale
Declared In
WoosmapIndoorUtils.h
+ instance
Single instance of Enviroment
+ (WoosmapIndoorUtils *)instance
Return Value
Enviroment object
Discussion
Single instance of Enviroment
Declared In
WoosmapIndoorUtils.h
– getResourcePath
@deprecated Resource path
- (NSString *)getResourcePath
Return Value
asset folder path on server
Discussion
@deprecated Resource path
Declared In
WoosmapIndoorUtils.h
– getStoreImagePath
Store Image Path
- (NSString *)getStoreImagePath
Return Value
folder path on server
Discussion
Store Image Path
Declared In
WoosmapIndoorUtils.h
– getOfferImagePath
Offer Image location
- (NSString *)getOfferImagePath
Return Value
folder path on server
Discussion
Offer Image location
Declared In
WoosmapIndoorUtils.h
– getBuddyImagePath
Buddy image location
- (NSString *)getBuddyImagePath
Return Value
folder path on server
Discussion
Buddy image location
Declared In
WoosmapIndoorUtils.h
– getMovieImagePath
Movie Image Location
- (NSString *)getMovieImagePath
Return Value
folder path on server
Discussion
Movie Image Location
Declared In
WoosmapIndoorUtils.h
– getColors
Predefine Colors
- (NSArray *)getColors
Return Value
List of Color
Discussion
Predefine Colors
Declared In
WoosmapIndoorUtils.h
– LevelString:
Floor Name
- (NSString *)LevelString:(int)level
Parameters
level |
Floor number fetch from Woosmap SDK |
---|
Return Value
String
Discussion
Floor Name
Declared In
WoosmapIndoorUtils.h
+ AddBorder:
Border to View
+ (void)AddBorder:(UIView *)source
Parameters
source |
View |
---|
Discussion
Border to View
Declared In
WoosmapIndoorUtils.h
+ AddBorderWithSharpCorners:
Border With Corners
+ (void)AddBorderWithSharpCorners:(UIView *)source
Parameters
source |
View |
---|
Discussion
Border With Corners
Declared In
WoosmapIndoorUtils.h
+ AddRoundedCorners:
Border With Rounded corners
+ (void)AddRoundedCorners:(UIView *)source
Parameters
source |
view |
---|
Discussion
Border With Rounded corners
Declared In
WoosmapIndoorUtils.h
+ AddBorderNoCorner:
Border No Corner
+ (void)AddBorderNoCorner:(UIView *)source
Parameters
source |
View |
---|
Discussion
Border No Corner
Declared In
WoosmapIndoorUtils.h
+ AddBorderYellow:
Yellow border
+ (void)AddBorderYellow:(UIView *)source
Parameters
source |
view |
---|
Discussion
Yellow border
Declared In
WoosmapIndoorUtils.h
+ circleView:
Circle shape view
+ (void)circleView:(UIView *)source
Parameters
source |
view |
---|
Discussion
Circle shape view
Declared In
WoosmapIndoorUtils.h
+ circleButton:withColor:
Circle shape button
+ (void)circleButton:(UIButton *)source withColor:(UIColor *)bordercolor
Parameters
source |
Button object which circle should be apply |
---|---|
bordercolor |
border color of circle.in case of no border set this parameter as transparent |
Discussion
Circle shape button
Declared In
WoosmapIndoorUtils.h
+ circleButton:
Circle shape button
+ (void)circleButton:(UIButton *)source
Parameters
source |
Button object which circle should be apply |
---|
Discussion
Circle shape button
Declared In
WoosmapIndoorUtils.h
+ AddRoundedCornersForAlert:
Rounded Corners For Alert
+ (void)AddRoundedCornersForAlert:(UIView *)source
Parameters
source |
View which rounded corner apply |
---|
Discussion
Rounded Corners For Alert
Declared In
WoosmapIndoorUtils.h
+ AddBlueBorder:
Add Blue Border
+ (void)AddBlueBorder:(UIView *)source
Parameters
source |
View which border apply |
---|
Discussion
Add Blue Border
Declared In
WoosmapIndoorUtils.h
+ makeFloorSuperScript:
make Floor Super Script
+ (NSString *)makeFloorSuperScript:(NSString *)stringText
Parameters
stringText |
Text which super script should apply |
---|
Return Value
Super Scripted string
Discussion
make Floor Super Script
Declared In
WoosmapIndoorUtils.h
– getGrayDotIconPath
Gray image
- (NSString *)getGrayDotIconPath
Discussion
Gray image
@return
Declared In
WoosmapIndoorUtils.h
– setApplicationStartTime
Description: Set ApplicationStartTime
- (void)setApplicationStartTime
Discussion
Description: Set ApplicationStartTime
Declared In
WoosmapIndoorUtils.h
– getApplicationStartTime
get Application Start Time
- (NSDate *)getApplicationStartTime
Discussion
get Application Start Time
@return
Declared In
WoosmapIndoorUtils.h
– getUserInVenue
Is User in mall
- (BOOL)getUserInVenue
Return Value
YES/NO
Discussion
Is User in mall
Declared In
WoosmapIndoorUtils.h
– setUserInVenue:
Set User in mall
- (void)setUserInVenue:(BOOL)set
Parameters
set |
YES/NO |
---|
Discussion
Set User in mall
Declared In
WoosmapIndoorUtils.h
– WalkingAway:
Walking Distance in text
- (int)WalkingAway:(int)distanceInpx
Parameters
distanceInpx |
Distance in meter |
---|
Return Value
distance in minutes
Discussion
Walking Distance in text
Declared In
WoosmapIndoorUtils.h
+ imageWithView:
Create image from UIView
+ (UIImage *)imageWithView:(UIView *)view
Parameters
view |
View |
---|
Return Value
Image File
Discussion
Create image from UIView
Declared In
WoosmapIndoorUtils.h
+ imageByRenderingView:
Create Image With View
+ (UIImage *)imageByRenderingView:(UIView *)view
Parameters
view |
view which converted to image |
---|
Return Value
Image File
Discussion
Create Image With View
Declared In
WoosmapIndoorUtils.h
+ screenshot
Create Image With View
+ (UIImage *)screenshot
Return Value
Image File
Discussion
Create Image With View
Declared In
WoosmapIndoorUtils.h
+ HitTestInPolygon:point:
Hit Test in polygon
+ (BOOL)HitTestInPolygon:(NSArray *)vertices point:(CGPoint)test
Parameters
vertices |
Ends of polygon |
---|---|
test |
test point |
Return Value
YES/NO
Discussion
Hit Test in polygon
Declared In
WoosmapIndoorUtils.h
– addinpushoffers:
Add Offer in Push List
- (void)addinpushoffers:(NSDictionary *)offer
Parameters
offer |
Detail of offers |
---|
Discussion
Add Offer in Push List
Declared In
WoosmapIndoorUtils.h
– getAllPushoffers
All offer from push list
- (NSArray *)getAllPushoffers
Return Value
List of offers
Discussion
All offer from push list
Declared In
WoosmapIndoorUtils.h
– setAsSeen:
Mark offer as seen
- (void)setAsSeen:(NSDictionary *)offer
Parameters
offer |
Offer Info |
---|
Discussion
Mark offer as seen
Declared In
WoosmapIndoorUtils.h
– getUnSeenOffers
List of unseen offers count
- (int)getUnSeenOffers
Discussion
List of unseen offers count
@return
Declared In
WoosmapIndoorUtils.h
– playSound:
Play sound
- (void)playSound:(NSURL *)musicFile
Parameters
musicFile |
waev file path |
---|
Discussion
Play sound
Declared In
WoosmapIndoorUtils.h
+ getHeading:toCoordinate:
Get north heading
+ (float)getHeading:(CLLocationCoordinate2D)fromLoc toCoordinate:(CLLocationCoordinate2D)toLoc
Parameters
fromLoc |
start location |
---|---|
toLoc |
End location |
Return Value
Heading in Degree
Discussion
Get north heading
Declared In
WoosmapIndoorUtils.h
– searchWord:andSearch:
Search Word in sentence
- (NSString *)searchWord:(NSString *)inText andSearch:(NSString *)searchWord
Parameters
inText |
sentence |
---|---|
searchWord |
word |
Return Value
match Word
Discussion
Search Word in sentence
Declared In
WoosmapIndoorUtils.h
– convertFeetToTimeCustom:
Convert meter to time
- (NSString *)convertFeetToTimeCustom:(double)inMeters
Parameters
inMeters |
Distance in meter |
---|
Return Value
number of seconds
Discussion
Convert meter to time
Declared In
WoosmapIndoorUtils.h
– convertdistanceToTime:
distance To Time
- (NSString *)convertdistanceToTime:(double)inMeters
Parameters
inMeters |
Distance in meter |
---|
Return Value
number of seconds
Discussion
distance To Time
Declared In
WoosmapIndoorUtils.h
– setUserInMall:
Set User in mall
- (void)setUserInMall:(BOOL)set
Parameters
set |
YES/NO |
---|
Discussion
Set User in mall
Declared In
WoosmapIndoorUtils.h
– getLocationServiceEnabled
get location service enable or not
- (BOOL)getLocationServiceEnabled
Return Value
BOOL value
Discussion
get location service enable or not
Declared In
WoosmapIndoorUtils.h
– setLocationServiceEnabled:
Set LocationService Enable
- (void)setLocationServiceEnabled:(BOOL)set
Parameters
set |
YES/NO |
---|
Discussion
Set LocationService Enable
Declared In
WoosmapIndoorUtils.h
– getBlueDotIconPath
user location icon path
- (NSString *)getBlueDotIconPath
Return Value
image file name in resource buindle
Discussion
user location icon path
Declared In
WoosmapIndoorUtils.h
+ imageWithResizeImage:scaledToWidth:
Resize image with new dimention
+ (UIImage *)imageWithResizeImage:(UIImage *)sourceImage scaledToWidth:(float)i_width
Parameters
sourceImage |
Source image |
---|---|
i_width |
new Width of image |
Return Value
New image with resize scale
Discussion
Resize image with new dimention
Declared In
WoosmapIndoorUtils.h