HERE iOS SDK Developer's Guide

NMADiscoveryRequest

Class Summary

class NMADiscoveryRequest

Derived from: NMARequest

Represents a request to retrieve an NMADiscoveryPage object.

Include: NMAKit.framework/headers/NMADiscoveryRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMADiscoveryRequest

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NMATextFormat   textFormat

The text format of the request results

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(void) setSearchAreaWithCenter:(nonnull NMAGeoCoordinates *) center radius:(NSUInteger) radius

Sets the search area using a center location and radius

Class Details

Represents a request to retrieve an NMADiscoveryPage object.

Public Property Details

[readable, writable, assign] NMATextFormat  textFormat

The text format of the request results.

Note:

The default value is NMATextFormatHTML.

Instance Method Details

-(void) setSearchAreaWithCenter:(nonnull NMAGeoCoordinates *) center radius:(NSUInteger) radius

Sets the search area using a center location and radius.

Note:

Search radius is not supported for "What's here?" requests, see [ NMAPlaces createHereRequestWithLocation:filters:].

Parameters:

  • center

    The NMAGeoCoordinates represents the search area center location.

  • radius

    The search area radius, clamped to the range 0 to 100,000 meters (100 km).