public class YouTube extends Schema
youtube://[video ID]
Constructor and Description |
---|
YouTube()
Default constructor to construct new YouTube object.
|
YouTube(String videoId) |
Modifier and Type | Method and Description |
---|---|
String |
generateString()
Generates code string.
|
String |
getVideoId() |
static YouTube |
parse(String code) |
Schema |
parseSchema(String code)
Parse qr code schema for given code string.
|
void |
setVideoId(String videoId) |
String |
toString() |
public static final String YOUTUBE
public YouTube()
public YouTube(String videoId)
public String getVideoId()
public void setVideoId(String videoId)
public Schema parseSchema(String code)
Schema
parseSchema
in class Schema
public String generateString()
Schema
generateString
in class Schema
Copyright © 2018. All rights reserved.