Skip to main content
Samsung Developer Program

PointerIcon API Structure

This section presents an introduction to Look S-Pen PointerIcon API class, constructor, method, and their relationships.  

For details, see the online Look API Reference ( http://img-developer.samsung.com/onlinedocs/sms/look/index.html).

For details about integrating the PointerIcon API, see Integrating PointerIcon.

Samsung Look S-Pen PointerIcon Slook Classes and Methods.png

SlookPointerIcon Class

Specifies and controls the display of the S-Pen pointer icon over views.

Constructor  
SlookPointerIcon()

Instantiates an SlookPointerIcon object to manage the S-Pen pointer icon displayed when hovering over one view

Methods    

void

setHoverIcon(View view,
Drawable d)

Specifies whether a specified custom S-Pen pointer icon or the default pointer icon is to be displayed when the S-Pen hovers above the specified view:

view Name of the view

d

 

Whether the default icon or the specified icon is to be displayed:

[Name of object] Custom icon of a drawable class object is to be displayed.
Null Default icon is to be displayed.

 

 

  • Was this article helpful?