Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface INetworkProxyInfo

interface INetworkProxyInfo
Extends com.amazon.apmf.IStandard Interface to represent Network Proxy info of current connection.

Methods

setProxyMode()

void setProxyMode(ProxyMode* proxyMode)
Set the network proxy mode.

Parameters

proxyMode
ProxyMode* — Required network proxy mode to set.

getProxyMode()

ProxyMode getProxyMode()
Get the current network proxy mode.

Returns

ProxyMode ProxyMode.

setProxyUrl()

void setProxyUrl(string proxyUrl)
Set the network proxy URL. This can be used when ProxyMode is set to ProxyMode.AUTO.

Parameters

proxyUrl
string — Required the network proxy URL.

getProxyUrl()

string? getProxyUrl()
Get the Network Proxy URL of this ProxyInfo.

Returns

string? The return value is optional and might be absent. Proxy URL on success.

setProxyPort()

void setProxyPort(u16 proxyPort)
Set the network proxy port number. This can be used when ProxyMode is set to ProxyMode.MANUAL.

Parameters

proxyPort
u16 — Required newtork proxy port number to set.

getProxyPort()

u16 getProxyPort()
Get the network proxy port number.

Returns

u16 network proxy port number.

setProxyHostname()

void setProxyHostname(string proxyHostname)
Set the network proxy hostname. This can be used when ProxyMode is set to ProxyMode.MANUAL.

Parameters

proxyHostname
string — Required newtork proxy hostname to set.

getProxyHostname()

string? getProxyHostname()
Get the network proxy hostname.

Returns

string? The return value is optional and might be absent. network proxy hostname.

setProxyBypassList()

void setProxyBypassList(string proxyBypassList)
Set the network proxy bypass list. This can be used when ProxyMode is set to ProxyMode.MANUAL.

Parameters

proxyBypassList
string — Required network proxy bypass list to set.

getProxyBypassList()

string? getProxyBypassList()
Get the network proxy bypass list. This can be used when ProxyMode is set to ProxyMode.MANUAL.

Returns

string? The return value is optional and might be absent. Proxy network proxy by-pass list.
Last modified on October 29, 2026