position


Description:

public int position { get; }

The current cursor position in the cursor's result list.

More specifically, the cursor position is defined as the number of contacts leading up to the current cursor position, inclusive of the current cursor position.

If the position value is 0, then the cursor is positioned before the contact list in the symbolic BEGIN position. If the position value is greater than total, this indicates that the cursor is positioned after the contact list in the symbolic END position.

Property change notifications are guaranteed to be delivered in the MainContext which was the thread default context at cursor creation time.




2022 vala-language.org