Package org.webrtc
Class ContextUtils
java.lang.Object
org.webrtc.ContextUtils
Class for storing the application context and retrieving it in a static context. Similar to
org.chromium.base.ContextUtils.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
Deprecated.crbug.com/webrtc/8937static void
initialize
(Object applicationContext) Stores the application context that will be returned by getApplicationContext.
-
Field Details
-
TAG
- See Also:
-
applicationContext
-
-
Constructor Details
-
ContextUtils
public ContextUtils()
-
-
Method Details
-
initialize
Stores the application context that will be returned by getApplicationContext. This is called by PeerConnectionFactory.initialize. The application context must be set before creating a PeerConnectionFactory and must not be modified while it is alive. -
getApplicationContext
Deprecated.crbug.com/webrtc/8937Returns the stored application context.
-