NIMLocationObject Class Reference

Inherits from NSObject
Conforms to NIMMessageObject
Declared in NIMLocationObject.h

Overview

Location message object

– initWithLatitude:longitude:title:

Location message object initialization method

- (instancetype)initWithLatitude:(double)latitude longitude:(double)longitude title:(nullable NSString *)title

Parameters

latitude

The latitude

longitude

The longitude

title

location description

Return Value

location message object

Discussion

Location message object initialization method

Declared In

NIMLocationObject.h

  latitude

Latitude

@property (nonatomic, assign, readonly) double latitude

Discussion

Latitude

Declared In

NIMLocationObject.h

  longitude

Longitude

@property (nonatomic, assign, readonly) double longitude

Discussion

Longitude

Declared In

NIMLocationObject.h

  title

Title

@property (nullable, nonatomic, copy, readonly) NSString *title

Discussion

Title

Declared In

NIMLocationObject.h