Added in API level 1

Printer


interface Printer
LogPrinter

Implementation of a android.util.Printer that sends its output to the system log.

PrintStreamPrinter

Implementation of a android.util.Printer that sends its output to a java.io.PrintStream.

PrintWriterPrinter

Implementation of a android.util.Printer that sends its output to a java.io.PrintWriter.

StringBuilderPrinter

Implementation of a android.util.Printer that sends its output to a StringBuilder.

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

Summary

Public methods
abstract Unit

Write a line of text to the output.

Public methods

println

Added in API level 1
abstract fun println(x: String!): Unit

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