We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47727f9 commit 1c7f9c8Copy full SHA for 1c7f9c8
1 file changed
java/src/main/java/com/google/api/services/samples/youtube/cmdline/live/ListBroadcasts.java
@@ -63,8 +63,8 @@ public static void main(String[] args) {
63
youtube.liveBroadcasts().list("id,snippet");
64
65
// Indicate that the API response should not filter broadcasts
66
- // based on their status.
67
- liveBroadcastRequest.setBroadcastStatus("all");
+ // based on their type or status.
+ liveBroadcastRequest.setBroadcastType("all").setBroadcastStatus("all");
68
69
// Execute the API request and return the list of broadcasts.
70
LiveBroadcastListResponse returnedListResponse = liveBroadcastRequest.execute();
0 commit comments