com.samsung.sdk.sperf

Class SPerf

  • java.lang.Object
    • com.samsung.sdk.sperf.SPerf


  • public class SPerf
    extends java.lang.Object
    This class initializes the SPerf API module and enables debugging.
    Since:
    v1.0.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int getVersionCode()
      Get the SPerf API version.
      static java.lang.String getVersionName()
      Get the SPerf API version.
      static boolean initialize(android.content.Context context)
      Initialize the SPerf module. Mandatory before calling SPerf API methods.
      static void setDebugModeEnabled(boolean enabled)
      Show debug logs. Default is false.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setDebugModeEnabled

        public static void setDebugModeEnabled(boolean enabled)
        Show debug logs. Default is false.
        Parameters:
        enabled - true: Show debug logs.
      • initialize

        public static boolean initialize(android.content.Context context)
        Initialize the SPerf module. Mandatory before calling SPerf API methods.
        Returns:
        Initialization result.
      • getVersionCode

        public static int getVersionCode()
        Get the SPerf API version.
        Returns:
        Version code as an integer (starting at 0).
      • getVersionName

        public static java.lang.String getVersionName()
        Get the SPerf API version.
        Returns:
        Version code as a string.