Preparing search index...
The search index is not available
GamePush SDK Typed Documentation
GamePush SDK Typed Documentation
Images
Class Images
Hierarchy (
view full
)
EventEmitter
<
ImagesEvents
>
Images
Index
Constructors
constructor
Properties
#manager
_events
acl
gp
Accessors
can
Upload
Methods
choose
File
fetch
fetch
More
off
on
once
resize
upload
upload
Url
Constructors
constructor
new
Images
(
gp
,
acl
)
:
Images
Parameters
gp
:
CoreSDK
acl
:
PlayerACL
Returns
Images
Properties
Private
#manager
#manager
:
default
<
ImageInfo
>
= ...
Private
_events
_events
:
EventLite
= ...
Private
acl
acl
:
PlayerACL
Private
gp
gp
:
CoreSDK
Accessors
can
Upload
get
canUpload
(
)
:
boolean
Returns
boolean
Methods
choose
File
choose
File
(
)
:
Promise
<
FilePickerOutput
>
Returns
Promise
<
FilePickerOutput
>
fetch
fetch
(
query
?
)
:
Promise
<
FetchFilesOutput
<
ImageInfo
>
>
Parameters
query
:
FetchImagesInput
= {}
Returns
Promise
<
FetchFilesOutput
<
ImageInfo
>
>
fetch
More
fetch
More
(
query
?
)
:
Promise
<
FetchFilesOutput
<
ImageInfo
>
>
Parameters
query
:
FetchImagesInput
= {}
Returns
Promise
<
FetchFilesOutput
<
ImageInfo
>
>
off
off
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
ImagesEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
ImagesEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
on
on
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
ImagesEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
ImagesEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
once
once
<
ET
>
(
type
,
handler
)
:
void
Type Parameters
ET
extends
keyof
ImagesEvents
Parameters
type
:
ET
handler
:
(
(
event
,
...
args
)
=>
void
)
(
event
,
...
args
)
:
void
Parameters
event
:
ImagesEvents
[
ET
]
Rest
...
args
:
any
Returns
void
Returns
void
resize
resize
(
url
,
width
?
,
height
?
,
crop
?
)
:
string
Parameters
url
:
string
Optional
width
:
number
Optional
height
:
number
Optional
crop
:
boolean
Returns
string
upload
upload
(
query
?
)
:
Promise
<
ImageInfo
>
Parameters
query
:
Omit
<
UploadPlayerImageInput
,
"accessPayload"
>
= {}
Returns
Promise
<
ImageInfo
>
upload
Url
upload
Url
(
query
?
)
:
Promise
<
ImageInfo
>
Parameters
query
:
Omit
<
UploadPlayerImageInput
,
"accessPayload"
|
"file"
>
&
{
url
:
string
;
}
= ...
Returns
Promise
<
ImageInfo
>
Settings
Member Visibility
Protected
Private
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
On This Page
constructor
#manager
_events
acl
gp
can
Upload
choose
File
fetch
fetch
More
off
on
once
resize
upload
upload
Url
GamePush SDK Typed Documentation
Loading...