Powered by Zoomin Software. For more details please contactZoomin

HERE Maps API for JavaScript - API Reference

Product category
Technology
Doc type
Version
Product lifecycle
This publication

HERE Maps API for JavaScript - API Reference: Class: Request

Table of Contents

Class: Request

H.util.Request

new H.util.Request (opt_onprogress, opt_total) abstract

This is a generic class representing a handle for any kind of asynchronous request.

Name Type Description
opt_onprogress function(H.util.Request) optional

A callback to invoke every time the progress state of the request changes

opt_total number optional

The total number of processing steps to complete the request, the default is 1

Members

H.util.Request.State static

This enumeration defines the supported request states.

Properties:

Methods

getFailed ()number

This method retrieves the number of failed processing steps.

Returns:
Type Description
number A value indicating the number of failed processing steps

getProcessed ()number

This method retrieves the number of completed request processing steps.

Returns:
Type Description
number A value indicating how many processing steps have been completed

This method retrieves the state of the request.

Returns:
Type Description
H.util.Request.State A value indicating the state of the request

getTotal ()number

This method retrieves the number of processing steps to complete this request.

Returns:
Type Description
number A value indicating the number of processing steps.
Was this article helpful?
TitleResults for “How to create a CRG?”Also Available inAlert