search

open fun search(@NonNull context: Context, @NonNull keyWord: String)

Tries to find all contacts, matching keyword, from company. This method is an async method, that returns result using the STWContactSearchCallback given at creation of this instance

Parameters

context

Context

keyWord

String : to get only contacts matching this keyword.


open fun search(    @NonNull context: Context,     @NonNull keyWord: String,     filter: Int)

Tries to find all contacts, matching keyword, from company. This method is an async method, that returns result using the STWContactSearchCallback given at creation of this instance

Parameters

context

Context

keyWord

String : to get only contacts matching this keyword.

filter

: simple contact filter: All, Group or single contact


open fun search(    @NonNull context: Context,     @NonNull keyWord: String,     @NonNull advancedFilter: STWContactFilterOption)

Tries to find all contacts, matching keyword, from company. This method is an async method, that returns result using the STWContactSearchCallback given at creation of this instance

Parameters

context

Context

keyWord

String : to get only contacts matching this keyword.

advancedFilter

: advanced contact filter : Object that may contain contact filter options: Organization (group and user) CONNECTIVITY : CONNECTED / NOT_CONNECTED USER_STATUS :ON_DUTY / OFF_DUTY OPERATIONAL_STATUS_LIST : list of operation status Ids