com.samsung.android.sdk.look

Class Slook

  • java.lang.Object
    • com.samsung.android.sdk.look.Slook
  • All Implemented Interfaces:
    com.samsung.android.sdk.SsdkInterface


    public final class Slook
    extends java.lang.Object
    implements com.samsung.android.sdk.SsdkInterface
    Provides common utility methods for look.
    implements com.samsung.android.sdk.SsdkInterface.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AIRBUTTON
      Initialize variable : This variable supports AIRBUTTON.
      static int COCKTAIL_BAR
      Initialize variable : This variable supports COCKTAIL_BAR.
      static int COCKTAIL_PANEL
      Initialize variable : This variable supports COCKTAIL_PANEL.
      static int SMARTCLIP
      Initialize variable : This variable supports SMARTCLIP.
      static int SPEN_HOVER_ICON
      Initialize variable : This variable supports SPEN_HOVER_ICON.
      static int WRITINGBUDDY
      Initialize variable : This variable supports WRITINGBUDDY.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Slook()
      Constructor of Slook.
    • Field Detail

      • AIRBUTTON

        public static final int AIRBUTTON
        Initialize variable : This variable supports AIRBUTTON.
        See Also:
        Constant Field Values
      • SMARTCLIP

        public static final int SMARTCLIP
        Initialize variable : This variable supports SMARTCLIP.
        See Also:
        Constant Field Values
      • WRITINGBUDDY

        public static final int WRITINGBUDDY
        Initialize variable : This variable supports WRITINGBUDDY.
        See Also:
        Constant Field Values
      • SPEN_HOVER_ICON

        public static final int SPEN_HOVER_ICON
        Initialize variable : This variable supports SPEN_HOVER_ICON.
        See Also:
        Constant Field Values
      • COCKTAIL_BAR

        public static final int COCKTAIL_BAR
        Initialize variable : This variable supports COCKTAIL_BAR.
        See Also:
        Constant Field Values
      • COCKTAIL_PANEL

        public static final int COCKTAIL_PANEL
        Initialize variable : This variable supports COCKTAIL_PANEL.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Slook

        public Slook()
        Constructor of Slook.
        Since:
        1.0.0
    • Method Detail

      • getVersionCode

        public int getVersionCode()
        Get SDK version code of Look.
        Returns:
        SDK version of Look
        Since:
        1.0.0
      • getVersionName

        public java.lang.String getVersionName()
        Get SDK version name of Look.
        Returns:
        SDK version name of Look
        Since:
        1.0.0
      • initialize

        public void initialize(android.content.Context arg0)
                        throws SsdkUnsupportedException
        If the device is not supported, Exception will be occurred.
        Parameters:
        arg0 - it is context of app. This is performed to initialize the Slook SDK using context of arg0.
        Throws:
        SsdkUnsupportedException - if Device is not Samsung device or doesn't support any feature, exception is occurred.
        Since:
        1.0.0
      • isFeatureEnabled

        public boolean isFeatureEnabled(int type)
        Check whether the feature is supported.
        Parameters:
        type - integers have meaning of distinction with AIRBUTTON, SMARTCLIP, WRITINGBUDDY, SPEN_HOVER_ICON, COCKTAIL_BAR, and COCKTAIL_PANEL. check whether the feature is enable or not with variable of integer. [UPDATE] return value is changed.
        Returns:
        true or false.
        Since:
        1.0.0