ContactIterator

Contact iterator.

This iterator holds a result cursor. You should close it when you don't need it anymore.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun changeThread()
Change thread this pointer can be accessed from to the current one.
Link copied to clipboard
open fun close()
Close the native pointer.
abstract fun close()
Link copied to clipboard
open fun equals(@Nullable o: Any): Boolean
Check if the pointer is equal to another one.
Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
open fun forEachRemaining(action: Consumer<in E>)
Link copied to clipboard
open fun hashCode(): Int
Get hash code.
Link copied to clipboard
open fun hasNext(): Boolean
Return whether there is at least one more element.
Link copied to clipboard
open fun isClosed(): Boolean
Check if the native pointer is closed.
Link copied to clipboard
open fun isMutable(): Boolean
Check if the native pointer is mutable.
Link copied to clipboard
open fun isSamePointer(@NonNull other: Pointer): Boolean
Check if the pointer is the same as in another pointer.
Link copied to clipboard
Return iterator.
Link copied to clipboard
open fun next(): Json.Dict
Return the next contact and advance the iterator.
Link copied to clipboard
open fun remove()
Not supported.
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Report string describing this pointer.