@Deprecated public class Sgesture extends java.lang.Object implements SsdkInterface
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_HAND_PRIMITIVE
Deprecated.
|
Constructor and Description |
---|
Sgesture()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getVersionCode()
Deprecated.
|
java.lang.String |
getVersionName()
Deprecated.
|
void |
initialize(android.content.Context context)
Deprecated.
|
boolean |
isFeatureEnabled(int type)
Deprecated.
|
public static final int TYPE_HAND_PRIMITIVE
public Sgesture()
public void initialize(android.content.Context context) throws SsdkUnsupportedException, java.lang.IllegalArgumentException
initialize
in interface SsdkInterface
context
- The Context for your application.SsdkUnsupportedException
- Thrown if the device is not Samsung,
doesn't support the feature, or the SDK version is not
matched.java.lang.IllegalArgumentException
- Thrown if the Context passed is null or
wrong.java.lang.IllegalStateException
- Thrown if initialize() function is already
called.public boolean isFeatureEnabled(int type)
isFeatureEnabled
in interface SsdkInterface
type
- The feature ID(use TYPE_HAND_PRIMITIVE).true -
if the Gesture package feature is available
on the device. false -
if the Gesture package feature is not
available on the device.java.lang.IllegalStateException
- Thrown if the method is called before
calling the initialize() method or if this the Gesture
package is not supported on the device.java.lang.IllegalArgumentException
- Thrown if the feature ID passed is not
valid.public int getVersionCode()
getVersionCode
in interface SsdkInterface
public java.lang.String getVersionName()
getVersionName
in interface SsdkInterface