public interface SsdkInterface
Modifier and Type | Method and Description |
---|---|
int |
getVersionCode()
returns the version number of the SDK.
|
java.lang.String |
getVersionName()
returns the version name of the SDK.
|
void |
initialize(android.content.Context context)
Initiaizeds the specific SDK.
|
boolean |
isFeatureEnabled(int type)
Checks if the SDK supports the specific feature or not.
|
void initialize(android.content.Context context) throws SsdkUnsupportedException
context
- The context of an applicationSsdkUnsupportedException
- Thrown if the device is not Samsung, doesn't support the feature,
or the package version is not matched.java.lang.IllegalArgumentException
- Thrown if context is nulljava.lang.SecurityException
- Thrown if the required permission is not added in the AndroidManifest.xml file.boolean isFeatureEnabled(int type)
type
- The feature IDint getVersionCode()
java.lang.String getVersionName()