Join us for ⁠#Android11: The Beta Launch Show on June 3!
Added in API level 1

Printer

interface Printer
android.util.Printer

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.