C# Class Unity.Platform.Windows.WindowsNet

Inheritance: Unity.Core.Net.AbstractNet
Afficher le fichier Open project: Appverse/appverse-mobile Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AddToNetworkTypeList ( List list, NetworkInterface ni ) : List

Method Details

DownloadFile() public méthode

public DownloadFile ( string url ) : bool
url string
Résultat bool

GetNetworkData() public méthode

public GetNetworkData ( ) : Unity.Core.Net.NetworkData
Résultat Unity.Core.Net.NetworkData

GetNetworkTypeReachableList() public méthode

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

GetNetworkTypeSupported() public méthode

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

OpenBrowser() public méthode

public OpenBrowser ( string title, string buttonText, string url ) : bool
title string
buttonText string
url string
Résultat bool

OpenBrowserWithOptions() public méthode

public OpenBrowserWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
browserOptions SecondaryBrowserOptions
Résultat bool

ShowHtml() public méthode

public ShowHtml ( string title, string buttonText, string html ) : bool
title string
buttonText string
html string
Résultat bool

ShowHtmlWithOptions() public méthode

public ShowHtmlWithOptions ( SecondaryBrowserOptions browserOptions ) : bool
browserOptions SecondaryBrowserOptions
Résultat bool

extractDomainNameFromURL() public méthode

public extractDomainNameFromURL ( string url ) : string
url string
Résultat string