Link Search Menu Expand Document

Constructor: peerLocated

Back to constructors index

Peer geolocated nearby

Attributes:

NameTypeRequiredDescription
peerlongYesPeer
expiresintYesValidity period of current data
distanceintYesDistance from the peer in meters

Type: PeerLocated

Example:

$peerLocated = ['_' => 'peerLocated', 'peer' => long, 'expires' => int, 'distance' => int];