Preparing search index...
The search index is not available
icloudjs
icloudjs
services/photos
iCloudPhotoAsset
Class iCloudPhotoAsset
Hierarchy
iCloudPhotoAsset
Index
Constructors
constructor
Properties
PHOTO_
VERSION_
LOOKUP
VIDEO_
VERSION_
LOOKUP
_versions
asset
Record
endpoint
Service
master
Record
Accessors
added
Date
asset
Date
created
dimension
filename
id
size
versions
Methods
delete
download
Constructors
constructor
new i
Cloud
Photo
Asset
(
endpointService
:
iCloudPhotosEndpointService
, masterRecord
:
MasterRecord
, assetRecord
:
AssetRecord
)
:
iCloudPhotoAsset
Parameters
endpointService:
iCloudPhotosEndpointService
masterRecord:
MasterRecord
assetRecord:
AssetRecord
Returns
iCloudPhotoAsset
Properties
Private
Readonly
PHOTO_
VERSION_
LOOKUP
PHOTO_
VERSION_
LOOKUP
:
{
medium
:
string
;
original
:
string
;
thumb
:
string
;
}
= ...
Type declaration
medium
:
string
original
:
string
thumb
:
string
Private
Readonly
VIDEO_
VERSION_
LOOKUP
VIDEO_
VERSION_
LOOKUP
:
{
medium
:
string
;
original
:
string
;
thumb
:
string
;
}
= ...
Type declaration
medium
:
string
original
:
string
thumb
:
string
Private
_versions
_versions
:
{}
= {}
Type declaration
Private
asset
Record
asset
Record
:
AssetRecord
Private
endpoint
Service
endpoint
Service
:
iCloudPhotosEndpointService
Private
master
Record
master
Record
:
MasterRecord
Accessors
added
Date
get
addedDate
(
)
:
Date
Returns
Date
asset
Date
get
assetDate
(
)
:
Date
Returns
Date
created
get
created
(
)
:
Date
Returns
Date
dimension
get
dimension
(
)
:
number
[]
Returns
array [width, height] in pixels
Returns
number
[]
filename
get
filename
(
)
:
string
Returns
string
id
get
id
(
)
:
string
Returns
string
size
get
size
(
)
:
number
Returns
number
versions
get
versions
(
)
:
{}
Returns
{}
Methods
delete
delete
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
download
download
(
version
?:
string
)
:
Promise
<
ArrayBuffer
>
Parameters
version:
string
= "original"
Returns
Promise
<
ArrayBuffer
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
icloudjs
index
services/account
services/calendar
services/drive
services/find
My
services/photos
services/ubiquity
i
Cloud
Photo
Asset
constructor
PHOTO_
VERSION_
LOOKUP
VIDEO_
VERSION_
LOOKUP
_versions
asset
Record
endpoint
Service
master
Record
added
Date
asset
Date
created
dimension
filename
id
size
versions
delete
download
Generated using
TypeDoc
Returns
array [width, height] in pixels