Share via


DeviceLocationVerificationContent Constructor

Definition

Initializes a new instance of DeviceLocationVerificationContent.

public DeviceLocationVerificationContent (Azure.Communication.ProgrammableConnectivity.NetworkIdentifier networkIdentifier, double latitude, double longitude, int accuracy, Azure.Communication.ProgrammableConnectivity.LocationDevice device);
new Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent : Azure.Communication.ProgrammableConnectivity.NetworkIdentifier * double * double * int * Azure.Communication.ProgrammableConnectivity.LocationDevice -> Azure.Communication.ProgrammableConnectivity.DeviceLocationVerificationContent
Public Sub New (networkIdentifier As NetworkIdentifier, latitude As Double, longitude As Double, accuracy As Integer, device As LocationDevice)

Parameters

networkIdentifier
NetworkIdentifier

Network to query for this device, or device information to enable network routing.

latitude
Double

Latitude of location to be verified.

longitude
Double

Longitude of location to be verified.

accuracy
Int32

Accuracy expected for location verification in kilometers.

device
LocationDevice

The device to find the location for. Exactly one of Network Access Code, Phone Number, IPv4 address, or IPv6 address.

Exceptions

networkIdentifier or device is null.

Applies to