public static class AudioScanner.AudioItemConverter extends java.lang.Object implements AudioScanner.Converter<AudioScanner.AudioItem>
AudioScanner.AudioItem
对象。构造器和说明 |
---|
AudioItemConverter() |
限定符和类型 | 方法和说明 |
---|---|
AudioScanner.AudioItem |
convert(android.database.Cursor cursor)
将扫描到的音频文件数据转换成一个实体对象。
|
@Nullable public AudioScanner.AudioItem convert(@NonNull android.database.Cursor cursor)
AudioScanner.Converter
注意!返回 null 时,将忽略当前音频文件。
convert
在接口中 AudioScanner.Converter<AudioScanner.AudioItem>
cursor
- Cursor 对象,不为 null