Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Methods
  • Detailed Description

TouchInteractionHint QML Type

A Touch interaction hint. More...

Import Statement: import Sailfish.Silica 1.0
Inherits:

Icon

  • List of all members, including inherited members

Properties

  • alwaysRunToEnd : bool
  • direction : int
  • distance : real
  • interactionMode : int
  • loops : int
  • running : bool
  • startX : real
  • startY : real

Methods

  • restart()
  • start()
  • stop()

Detailed Description

The TouchInteractionHint is an animated element which provides the user with a hint that some touch interaction is available.

Property Documentation

alwaysRunToEnd : bool

This property holds whether the interaction hint animation should run to completion when it is stopped.


direction : int

This property holds the direction of the animation.

Valid values are:

ConstantValue
TouchInteraction.Left
TouchInteraction.Up
TouchInteraction.Right
TouchInteraction.Down

distance : real

This property holds the distance of the animation.


interactionMode : int

This property holds the mode of the emulated interaction.

Valid values are:

ConstantDescription
TouchInteraction.SwipeSwipe, not starting from the edge of the screen. Sometimes called a flick.
TouchInteraction.EdgeSwipeSwipe, starting from the edge of the screen.
TouchInteraction.PullPulling a menu from top or bottom.

loops : int

This property holds the number of times the interaction hint animation should play.

If set to Animation.Infinite the animation will run until it is stopped. The default value is 3.


running : bool

This property holds whether the interaction hint animation is currently running.


startX : real

This property holds the starting position of a horizontal animation.


startY : real

This property holds the starting position of a vertical animation.


Method Documentation

restart()

Restarts the animation.


start()

Starts the animation.


stop()

Stops the animation and hides the hint icon.


  • Legal
  • Contact Us
  • Jolla Mobile Ltd © 2025

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn