Class PoTokenResult
java.lang.Object
org.schabi.newpipe.extractor.services.youtube.PoTokenResult
The result of a supported/successful
poToken extraction request by a
PoTokenProvider.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPoTokenResult(String visitorData, String playerRequestPoToken, String streamingDataPoToken) Construct aPoTokenResultinstance. -
Method Summary
-
Field Details
-
visitorData
The visitor data associated with apoToken. -
playerRequestPoToken
ThepoTokenof a player request, a Protobuf object encoded as a base 64 string. -
streamingDataPoToken
ThepoTokento be appended to streaming URLs, a Protobuf object encoded as a base 64 string.It may be required on some clients such as HTML5 ones and may also differ from the player request
poToken.
-
-
Constructor Details
-
PoTokenResult
public PoTokenResult(@Nonnull String visitorData, @Nonnull String playerRequestPoToken, @Nullable String streamingDataPoToken) Construct aPoTokenResultinstance.- Parameters:
visitorData- seevisitorDataplayerRequestPoToken- seeplayerRequestPoTokenstreamingDataPoToken- seestreamingDataPoToken- Throws:
NullPointerException- if a non-null parameter is null
-