A

ACTION_DOWN - Static variable in class com.samsung.android.sdk.penremote.ButtonEvent
A pressed gesture has started.
ACTION_UP - Static variable in class com.samsung.android.sdk.penremote.ButtonEvent
A pressed gesture has finished.
AirMotionEvent - Class in com.samsung.android.sdk.penremote
A class that extracts air motion related information from an SpenEvent.
AirMotionEvent(SpenEvent) - Constructor for class com.samsung.android.sdk.penremote.AirMotionEvent
Create a AirMotionEvent from SpenEvent object.

B

ButtonEvent - Class in com.samsung.android.sdk.penremote
A class that extracts button related information from an SpenEvent.
ButtonEvent(SpenEvent) - Constructor for class com.samsung.android.sdk.penremote.ButtonEvent
Create a ButtonEvent from SpenEvent object.

C

com.samsung.android.sdk.penremote - package com.samsung.android.sdk.penremote
 
connect(Context, SpenRemote.ConnectionResultCallback) - Method in class com.samsung.android.sdk.penremote.SpenRemote
Establish Connection to the S Pen framework.
CONNECTED - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.State
Connected without error.
CONNECTION_FAILED - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.Error
The S Pen framework refuses the connection.
CREATOR - Static variable in class com.samsung.android.sdk.penremote.SpenEvent
 

D

describeContents() - Method in class com.samsung.android.sdk.penremote.SpenEvent
 
disconnect(Context) - Method in class com.samsung.android.sdk.penremote.SpenRemote
Disconnects an established connection.
DISCONNECTED - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.State
Disconnected without error by calling disconnect().
DISCONNECTED_BY_UNKNOWN_REASON - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.State
Disconnected because of an unknown or unspecified reason.

F

FEATURE_TYPE_AIR_MOTION - Static variable in class com.samsung.android.sdk.penremote.SpenRemote
A constant describing an air motion.
FEATURE_TYPE_BUTTON - Static variable in class com.samsung.android.sdk.penremote.SpenRemote
A constant describing a Button.

G

getAction() - Method in class com.samsung.android.sdk.penremote.ButtonEvent
Returns the kind of action being performed.
getDeltaX() - Method in class com.samsung.android.sdk.penremote.AirMotionEvent
Returns the deltaX of air motion event from previous position.
getDeltaY() - Method in class com.samsung.android.sdk.penremote.AirMotionEvent
Returns the deltaY of air motion event from previous position.
getInstance() - Static method in class com.samsung.android.sdk.penremote.SpenRemote
Get instance of SpenRemote
getTimeStamp() - Method in class com.samsung.android.sdk.penremote.AirMotionEvent
returns time in nanosecond at which the event happened.
getTimeStamp() - Method in class com.samsung.android.sdk.penremote.ButtonEvent
returns time in nanosecond at which the event happened.
getTimeStamp() - Method in class com.samsung.android.sdk.penremote.SpenEvent
returns time in nanosecond at which the event happened.
getUnit(int) - Method in class com.samsung.android.sdk.penremote.SpenUnitManager
 
getVersionCode() - Method in class com.samsung.android.sdk.penremote.SpenRemote
Returns the version number of the S Pen Remote SDK.
getVersionName() - Method in class com.samsung.android.sdk.penremote.SpenRemote
Returns the version name of the S Pen Remote SDK.

I

isConnected() - Method in class com.samsung.android.sdk.penremote.SpenRemote
Check if connection is established.
isFeatureEnabled(int) - Method in class com.samsung.android.sdk.penremote.SpenRemote
Returns true if the S Pen Remote feature on the device is enabled.

O

onChange(int) - Method in interface com.samsung.android.sdk.penremote.SpenRemote.ConnectionStateChangeListener
Called when connection state is changed.
onEvent(SpenEvent) - Method in interface com.samsung.android.sdk.penremote.SpenEventListener
Called when there is a new S Pen event.
onFailure(int) - Method in interface com.samsung.android.sdk.penremote.SpenRemote.ConnectionResultCallback
Called when the Pen framework refuses the connection.
onSuccess(SpenUnitManager) - Method in interface com.samsung.android.sdk.penremote.SpenRemote.ConnectionResultCallback
Called when the SpenRemote is successfully connected to the S Pen framework.

R

registerSpenEventListener(SpenEventListener, SpenUnit) - Method in class com.samsung.android.sdk.penremote.SpenUnitManager
Register a SpenEventListener for given SpenUnit.

S

setConnectionStateChangeListener(SpenRemote.ConnectionStateChangeListener) - Method in class com.samsung.android.sdk.penremote.SpenRemote
Set the callback that pass connection state when the state is changed.
setTimeStamp(long) - Method in class com.samsung.android.sdk.penremote.SpenEvent
set time in nanosecond at which the event happened
setValue(int, float) - Method in class com.samsung.android.sdk.penremote.SpenEvent
set event data into the array.
SpenEvent - Class in com.samsung.android.sdk.penremote
This class represents a Spen event and holds information such as time-stamp and event data.
SpenEvent(Parcel) - Constructor for class com.samsung.android.sdk.penremote.SpenEvent
 
SpenEvent(int) - Constructor for class com.samsung.android.sdk.penremote.SpenEvent
Create an SpenEvent.
SpenEventListener - Interface in com.samsung.android.sdk.penremote
Used for receiving SpenEvent from the S Pen Framework when there is new event.
SpenRemote - Class in com.samsung.android.sdk.penremote
SpenRemote is the entry class that provides access to the S Pen Remote SDK.
SpenRemote.ConnectionResultCallback - Interface in com.samsung.android.sdk.penremote
Interface for listening connection result.
SpenRemote.ConnectionStateChangeListener - Interface in com.samsung.android.sdk.penremote
Interface for listening connection state.
SpenRemote.Error - Class in com.samsung.android.sdk.penremote
Error Code
SpenRemote.State - Class in com.samsung.android.sdk.penremote
State Code
SpenUnit - Class in com.samsung.android.sdk.penremote
SpenUnit class manages instances of specific S Pen embedded unit.
SpenUnitManager - Class in com.samsung.android.sdk.penremote
The SpenUnitManager manages SpenUnits and provides a method to set the Event Listener to monitor the events of SpenUnit.

T

TYPE_AIR_MOTION - Static variable in class com.samsung.android.sdk.penremote.SpenEvent
S Pen event type constant : Air motion.
TYPE_AIR_MOTION - Static variable in class com.samsung.android.sdk.penremote.SpenUnit
A constant describing a air motion unit.
TYPE_BUTTON - Static variable in class com.samsung.android.sdk.penremote.SpenEvent
S Pen event type constant : Button.
TYPE_BUTTON - Static variable in class com.samsung.android.sdk.penremote.SpenUnit
A constant describing a button unit.

U

UNKNOWN - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.Error
Unknown error.
unregisterSpenEventListener(SpenUnit) - Method in class com.samsung.android.sdk.penremote.SpenUnitManager
Unregister a SpenEventListener of given SpenUnit.
UNSUPPORTED_DEVICE - Static variable in class com.samsung.android.sdk.penremote.SpenRemote.Error
The device does not support the feature.
             

W

writeToParcel(Parcel, int) - Method in class com.samsung.android.sdk.penremote.SpenEvent