blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal
Classes | Defines | Typedefs | Enumerations | Variables

GDNetUtility.h File Reference

#import <Foundation/Foundation.h>

Classes

Defines

Typedefs

Enumerations

Variables


Define Documentation

#define __has_extension (   x)    0
#define DEPRECATE_ERRORHOSTNOTLISTED   __attribute__((deprecated))

Typedef Documentation

typedef void(^ GDNslookupCompletion)(NSDictionary *response, NSError *error)

Pass a code block of this type as the completion parameter to the nslookup function.

The block receives two parameters.

Parameters:
responseNSDictionary containing the results if the lookup succeeded, or nil otherwise.
errorNSError containing a description of the error condition if the lookup failed, or nil otherwise.

Enumeration Type Documentation

Use these constants to specify the type of results required for a BlackBerry Dynamics name service lookup. The type parameter of the nslookup function always takes one of these values.

Enumerator:
GDNslookupCNAME 

Specify a CNAME lookup.

GDNslookupARECORD 

Specify an A record lookup.