lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

Printer

public interface Printer

android.util.Printer


Simple interface for printing text, allowing redirection to various targets. Standard implementations are LogPrinter, StringBuilderPrinter, and PrintWriterPrinter.

Summary

Public methods

abstract void println(String x)

Write a line of text to the output.

Public methods

println

added in API level 1
public abstract void println (String x)

Write a line of text to the output. There is no need to terminate the given string with a newline.

Parameters
x String