Package | com.adobe.mediacore.system |
Class | public final class NetworkConfiguration |
Inheritance | NetworkConfiguration ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
cookieHeaders : Metadata
Cookie header to be sent with the requests. | NetworkConfiguration | ||
forceNativeNetworking : Boolean
Instructs the PSDK to force native networking for requests, rather than going through the browser. | NetworkConfiguration | ||
masterUpdateInterval : int
Associated master manifest update interval. | NetworkConfiguration | ||
readSetCookieHeader : Boolean | NetworkConfiguration | ||
useRedirectedUrl : Boolean
If the request for a manifest is redirected, this property instructs the PSDK to use the redirected location for all subsequent calls. | NetworkConfiguration |
Method | Defined By | ||
---|---|---|---|
Default constructor. | NetworkConfiguration | ||
![]() | containsKey(key:String):Boolean
Checks if the metadata contains the specified key. | Metadata | |
![]() | getByteArray(key:String):ByteArray
Returns the value associated with the given key, or null
if no mapping of the desired type exists for the given key
or a null value is explicitly associated with the key. | Metadata | |
![]() | getMetadata(key:String):Metadata
Returns the value associated with the given key, or null
if no mapping of the desired type exists for the given key
or a null value is explicitly associated with the key. | Metadata | |
![]() | getObject(key:String):Object
Returns the value associated with the given key, or null
if no mapping of the desired type exists for the given key
or a null value is explicitly associated with the key. | Metadata | |
![]() | getValue(key:String):String
Returns the value associated with the specified key as string. | Metadata | |
![]() | isEmpty():Boolean
Checks if the metadata has any mapping defined. | Metadata | |
![]() | keySet():Vector.<String>
Returns a vector containing the strings used as keys in this metadata. | Metadata | |
![]() | setByteArray(key:String, byteArray:ByteArray):void
Stores a ByteArray value replacing any existing value for the given key. | Metadata | |
![]() | setMetadata(key:String, metadata:Metadata):void
Stores a Metadata value replacing any existing value for the given key. | Metadata | |
![]() | setObject(key:String, object:Object):void
Stores an object value replacing any existing value for the given key. | Metadata | |
![]() | setValue(key:String, value:String):void
Stores a String value into this metadata, replacing any existing
value for the given key. | Metadata | |
![]() | toString():String
Returns the string representation of the specified object. | Metadata |
cookieHeaders | property |
cookieHeaders:Metadata
Cookie header to be sent with the requests.
public function get cookieHeaders():Metadata
public function set cookieHeaders(value:Metadata):void
forceNativeNetworking | property |
forceNativeNetworking:Boolean
Instructs the PSDK to force native networking for requests, rather than going through the browser. Thus file loading can evade Ad Blockers. Default is false.
public function get forceNativeNetworking():Boolean
public function set forceNativeNetworking(value:Boolean):void
masterUpdateInterval | property |
masterUpdateInterval:int
Associated master manifest update interval.
public function get masterUpdateInterval():int
public function set masterUpdateInterval(value:int):void
readSetCookieHeader | property |
readSetCookieHeader:Boolean
public function get readSetCookieHeader():Boolean
public function set readSetCookieHeader(value:Boolean):void
useRedirectedUrl | property |
useRedirectedUrl:Boolean
If the request for a manifest is redirected, this property instructs the PSDK to use the redirected location for all subsequent calls. Default is false.
public function get useRedirectedUrl():Boolean
public function set useRedirectedUrl(value:Boolean):void
NetworkConfiguration | () | Constructor |
public function NetworkConfiguration()
Default constructor.