Search
Context
constructor
cancellable
filter_
state
result_
set
search_
metadata
search_
query
search_
type
name
set_
search_
metadata
create
GJS API Reference
Unity-7.0
Unity
SearchContext
Class SearchContext
Hierarchy
SearchContext
Index
Constructors
constructor
Properties
cancellable
filter_
state
result_
set
search_
metadata
search_
query
search_
type
name
Methods
set_
search_
metadata
create
Constructors
constructor
new
Search
Context
(
)
:
Unity
.
SearchContext
Returns
Unity
.
SearchContext
Properties
cancellable
cancellable
:
Unity
.
Cancellable
filter_
state
filter_
state
:
FilterSet
result_
set
result_
set
:
Unity
.
ResultSet
search_
metadata
search_
metadata
:
SearchMetadata
search_
query
search_
query
:
string
search_
type
search_
type
:
Unity
.
SearchType
Static
name
name
:
string
Methods
set_
search_
metadata
set_
search_
metadata
(
metadata
:
SearchMetadata
)
:
void
Parameters
metadata:
SearchMetadata
Returns
void
Static
create
create
(
search_query
:
string
, search_type
:
Unity
.
SearchType
, filter_state
:
FilterSet
, metadata
:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
, result_set
:
Unity
.
ResultSet
, cancellable
?:
Unity
.
Cancellable
)
:
Unity
.
SearchContext
Parameters
search_query:
string
search_type:
Unity
.
SearchType
filter_state:
FilterSet
metadata:
HashTable
<
string
|
number
|
symbol
,
string
|
number
|
boolean
>
result_set:
Unity
.
ResultSet
Optional
cancellable:
Unity
.
Cancellable
Returns
Unity
.
SearchContext
Search
Context
constructor
cancellable
filter_
state
result_
set
search_
metadata
search_
query
search_
type
name
set_
search_
metadata
create
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJVbml0eV83XzAuVW5pdHkuU2VhcmNoQ29udGV4dC5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJ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