ContextUtils

tee3.webrtc

## 类 ContextUtils

- java.lang.Object
- - tee3.webrtc.ContextUtils

-     public class ContextUtils
      extends java.lang.Object

  Class for storing the application context and retrieving it in a static context. Similar to org.chromium.base.ContextUtils.

- - ### 构造器概要

    构造器
    构造器和说明
    `ContextUtils()`

  - ### 方法概要

    所有方法 静态方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static android.content.Context` | `getApplicationContext()` 已过时。 crbug.com/webrtc/8937
    `static void` | `initialize(android.content.Context applicationContext)` Stores the application context that will be returned by getApplicationContext.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### ContextUtils

          public ContextUtils()

  - ### 方法详细资料

    - #### initialize

          public static void initialize(android.content.Context applicationContext)

      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
          public static android.content.Context getApplicationContext()

      已过时。 crbug.com/webrtc/8937
      Returns the stored application context.