Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Update Usage.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshshah6 authored Aug 29, 2022
1 parent 1299096 commit c4b66f4
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions Documentation/Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,67 @@ util_name.ReqListener(new LegendaryListener(){
}
});
```
## OnSuccess Event Codes for getting all

#### getTitle()
```java
//(returns String)
LegendaryUtil.getTitle()
```
#### getDescription()
```java
//returns String
LegendaryUtil.getDescription()
```

#### getThumbnail (direct URL)
```java
//returns String
LegendaryUtil.getThumb()
```

#### getViews()--[returns view count]
```java
//returns String
LegendaryUtil.getViews()
```

#### getAuthor() -- Uploader Name
```java
//returns String
LegendaryUtil.getAuthor()
```

#### getVideoDuration()
```java
//returns String
LegendaryUtil.getVideoLength()
```

#### getUploaderChannelId()
```java
//returns String
LegendaryUtil.getChannelid()
```

#### getVideoDirectLink (download &....)
```java
//returns ListArray<HashMap<String,Object>>
LegendaryUtil.getMP4()

/* key :-
1. link
2. size
*/
```

#### getAudioDirectLink
```java
//returns ListArray<HashMap<String,Object>>
LegendaryUtil.getMP3()

/* key :-
1. link
2. size
*/
```

0 comments on commit c4b66f4

Please sign in to comment.