C# Class Unity.Platform.Windows.WindowsNet

Inheritance: Unity.Core.Net.AbstractNet
Exibir arquivo Open project: Appverse/appverse-mobile Class Usage Examples

Public Methods

Method Description
DownloadFile ( string url ) : bool
GetNetworkData ( ) : Unity.Core.Net.NetworkData
GetNetworkTypeReachableList ( string url ) : NetworkType[]

List of network types available to reach the given url.

GetNetworkTypeSupported ( ) : NetworkType[]

List of supported network types (cable, wifi, etc.) on the current device.

OpenBrowser ( string title, string buttonText, string url ) : bool
OpenBrowserWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
ShowHtml ( string title, string buttonText, string html ) : bool
ShowHtmlWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
extractDomainNameFromURL ( string url ) : string

Private Methods

Method Description
AddToNetworkTypeList ( List list, NetworkInterface ni ) : List

Method Details

DownloadFile() public method

public DownloadFile ( string url ) : bool
url string
return bool

GetNetworkData() public method

public GetNetworkData ( ) : Unity.Core.Net.NetworkData
return Unity.Core.Net.NetworkData

GetNetworkTypeReachableList() public method

List of network types available to reach the given url.
public GetNetworkTypeReachableList ( string url ) : NetworkType[]
url string The url to check reachability.
return NetworkType[]

GetNetworkTypeSupported() public method

List of supported network types (cable, wifi, etc.) on the current device.
public GetNetworkTypeSupported ( ) : NetworkType[]
return NetworkType[]

OpenBrowser() public method

public OpenBrowser ( string title, string buttonText, string url ) : bool
title string
buttonText string
url string
return bool

OpenBrowserWithOptions() public method

public OpenBrowserWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
browserOptions SecondaryBrowserOptions
return bool

ShowHtml() public method

public ShowHtml ( string title, string buttonText, string html ) : bool
title string
buttonText string
html string
return bool

ShowHtmlWithOptions() public method

public ShowHtmlWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
browserOptions SecondaryBrowserOptions
return bool

extractDomainNameFromURL() public method

public extractDomainNameFromURL ( string url ) : string
url string
return string