BaiduPan class
所有的具体的参数含义参照: 百度网盘的官方文档
这个类包含了查询的方法
如果你需要移动、删除、重命名等操作,请使用 BaiduPanFileManager
如果你需要上传文件,请使用 BaiduPanUploadManager
- Mixed in types
- Available Extensions
Constructors
Properties
- accessToken → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretAccessToken → bool
-
final
- showLog → bool
-
final
Methods
-
getBtList(
{String dir = '/', bool recursion = false, int? page, num? number, BaiduOrder order = BaiduOrder.time, bool desc = false, bool web = true}) → Future< TypeFileList< BtItem> > - 种子列表
-
getCategoryList(
{required List< BaiduCategory> categorys, String parentPath = '/', bool showDir = false, bool recursion = false, List<String> ext = const [], int start = 0, int limit = 1000, BaiduOrder order = BaiduOrder.time, bool desc = false}) → Future<CategoryList> - 获取分类文件列表
-
getCountOfPathByType(
{String dir = '/', bool recursion = true}) → Future< Map< BaiduCategory, CategoryCount> > - 获取分类文件总个数
-
getDiskSpace(
) → Future< DiskSpace> - 获取网盘容量信息
-
getDocList(
{String dir = '/', bool recursion = false, int? page, num? number, BaiduOrder order = BaiduOrder.time, bool desc = false, bool web = true}) → Future< TypeFileList< DocItem> > - 文档列表
-
getFileList(
{String? dir, BaiduOrder order = BaiduOrder.name, bool desc = false, int? start, int? end, int limit = 1000, Map< String, String> otherParams = const {}}) → Future<FileList> - 获取文件列表
-
getFileListAll(
{required String dir, int? start, int? end, BaiduOrder order = BaiduOrder.name, bool desc = false, int limit = 1000, bool recursion = false, bool web = true, Map< String, String> otherParams = const {}}) → Future<FileAllList> - 递归获取文件列表
-
getImageList(
{String dir = '/', bool recursion = false, int? page, num? number, BaiduOrder order = BaiduOrder.time, bool desc = false, bool web = true}) → Future< TypeFileList< MediaItem> > - 图片列表
-
getMediaStreamResponse(
{required String filePath, BaiduMediaRequestType type = BaiduMediaRequestType.M3U8_AUTO_1080}) → Future< Response> - 获取音视频流的响应。
-
getMediaStreamUri(
{required String filePath, BaiduMediaRequestType type = BaiduMediaRequestType.M3U8_AUTO_1080}) → Uri - 获取音视频流的 Uri。
-
getUserInfo(
) → Future< UserInfo> - 用户信息,包括账号、头像地址、会员类型等。
-
getVideoList(
{String dir = '/', bool recursion = false, int? page, num? number, BaiduOrder order = BaiduOrder.time, bool desc = false, bool web = true}) → Future< TypeFileList< MediaItem> > - 视频列表
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
search(
{required String key, String dir = '/', int page = 1, bool recursion = false}) → Future< SearchList> - 搜索文件
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited