I am working on the printing custom file of Android, and I have some doubts in developer website of PrintedPdfDocument
// open a new document
PrintedPdfDocument document = new PrintedPdfDocument(context,
printAttributes);
// start a page
Page page = document.startPage(0);
// draw something on the page
View content = getContentView();
content.draw(page.getCanvas());
// finish the page
document.finishPage(page);
. . .
What does the getContentView mean? I think I need to write the function body by myself, but I am not sure what is view mean? Can anyone help?