Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of images & video [Feature] #594

Closed
marcodecarolisidt opened this issue Sep 8, 2021 · 3 comments
Closed

Number of images & video [Feature] #594

marcodecarolisidt opened this issue Sep 8, 2021 · 3 comments

Comments

@marcodecarolisidt
Copy link

Is your feature request related to a problem? Please describe.
I know there is the assetCount property, but I need to know how many are images and how many are videos.
Is it possible to get it without fetching all the assets with getAssetPathList ?

With many assets, the getAssetPathList method is very slow

Describe the solution you'd like
Get an imageAssetCount & videoAssetsCount

@AlexV525
Copy link
Member

Is there any documents that directly obtain images/videos count without extra requests?

@AlexV525
Copy link
Member

Well, after some thinking, I think asynchronous getters will do.

@AlexV525
Copy link
Member

Sorry, I missed the part that we already have PhotoManager.getAssetCount. You can access asset count with a specific request type and filtering options.

@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants