Class MediaServicesInstance


  • public class MediaServicesInstance
    extends java.lang.Object
    • Method Detail

      • close

        public void close()
      • getDeviceInterface

        public Device getDeviceInterface()
      • getNativeMediaEngine

        public long getNativeMediaEngine()
      • getContext

        public static android.content.Context getContext()
      • getVersion

        public static java.lang.String getVersion()
        This function returns the version of the media library
        Returns:
        version
      • getLogLevel

        public static LogLevel getLogLevel()
      • setLogLevel

        public static void setLogLevel​(LogLevel level)
      • getLogProvider

        public static LogProvider getLogProvider()
      • setLogProvider

        public static void setLogProvider​(LogProvider provider)
      • InitVantageFlags

        public static void InitVantageFlags()
      • IsVantagePlatform

        public static boolean IsVantagePlatform()
      • IsVantagePlatform2

        public static boolean IsVantagePlatform2()
      • IsVantageDisplayLandscape

        public static boolean IsVantageDisplayLandscape()
      • IsVantagePlatform3

        public static boolean IsVantagePlatform3()
      • IsChromeOSPlatform

        public static boolean IsChromeOSPlatform()
      • Supports540pCapture

        public static boolean Supports540pCapture()
      • Supports270pCapture

        public static boolean Supports270pCapture()
      • getCPUInfo

        public static java.lang.String getCPUInfo​(java.lang.String key)
      • getTime

        public long getTime()
      • onAlarmFired

        public void onAlarmFired​(long alarmHandle,
                                 long alarmToken)
      • cancelAlarm

        public void cancelAlarm​(long alarmHandle)
      • setAlarm

        public long setAlarm​(long delayMS,
                             long opaqueKey)
      • releaseWakeLock

        public void releaseWakeLock​(long wakeLockHandle)
      • getWakeLock

        public long getWakeLock()
      • setWakeLockReleaseDelay

        public void setWakeLockReleaseDelay​(int delayMS)
      • reportDelays

        public void reportDelays​(long beforeReleaseWakeLock,
                                 long selectDiff,
                                 long afterSelect,
                                 long getWakeLockDiff)
      • getAppDirectory

        public java.lang.String getAppDirectory()
      • onLogMessage

        public static void onLogMessage​(byte[] aMessage,
                                        LogLevel eLevel,
                                        byte[] aTag)