Tuya iOS Smart Life App SDK 5.15.0
ThingSmartNetworkInfoUtil Class Reference

#import <ThingSmartNetworkInfoUtil.h>

Inheritance diagram for ThingSmartNetworkInfoUtil:

Class Methods

(void) + getIpAddressWithType:handler:
 
(void) + getIpAddressWithType:handler:
 
(void) + getIpAddressWithType:handler:
 
(void) + getIpAddressWithType:handler:
 

Detailed Description

Definition at line 20 of file ThingSmartNetworkInfoUtil.h.

Method Documentation

◆ getIpAddressWithType:handler: [1/4]

+ (void) getIpAddressWithType: (nw_interface_type_t)  type
handler: (void(^)(ThingSmartIPInfo *ipInfo))  handler 

Get current IP address of the phone.

  • Parameters:
    • type: Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.
    • handler: handler

◆ getIpAddressWithType:handler: [2/4]

+ (void) getIpAddressWithType: (nw_interface_type_t)  type
handler: (void(^)(ThingSmartIPInfo *ipInfo))  handler 

Get current IP address of the phone.

  • Parameters:
    • type: Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.
    • handler: handler

◆ getIpAddressWithType:handler: [3/4]

+ (void) getIpAddressWithType: (nw_interface_type_t)  type
handler: (void(^)(ThingSmartIPInfo *ipInfo))  handler 

Get current IP address of the phone.

  • Parameters:
    • type: Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.
    • handler: handler

◆ getIpAddressWithType:handler: [4/4]

+ (void) getIpAddressWithType: (nw_interface_type_t)  type
handler: (void(^)(ThingSmartIPInfo *ipInfo))  handler 

Get current IP address of the phone.

  • Parameters:
    • type: Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.
    • handler: handler

The documentation for this class was generated from the following files: