Linguaggio

Proxy.GetHost(Context) Metodo

Definizione

Attenzione

deprecated

Restituisce l'host proxy impostato dall'utente.

[Android.Runtime.Register("getHost", "(Landroid/content/Context;)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string? GetHost(Android.Content.Context? ctx);
[<Android.Runtime.Register("getHost", "(Landroid/content/Context;)Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetHost : Android.Content.Context -> string

Parametri

ctx
Context

Contesto usato per ottenere le impostazioni per l'host proxy.

Valori restituiti

Stringa contenente il nome host. Se l'utente non ha impostato un nome host, restituisce l'host predefinito. Un valore Null indica che non deve essere usato alcun host.

Attributi

Commenti

Restituisce l'host proxy impostato dall'utente.

Questo membro è deprecato. Usare i valori proxy vm Java standard per trovare l'host, la porta e l'elenco di esclusione. Questa chiamata ignora l'elenco di esclusione.

per android.net.Proxy.getHost(android.content.Context).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a