Added in API level 1
Deprecated in API level 28

Movie

open class Movie
kotlin.Any
   ↳ android.graphics.Movie

Summary

Public methods
open static Movie!
decodeByteArray(data: ByteArray!, offset: Int, length: Int)

open static Movie!
decodeFile(pathName: String!)

open static Movie!

open Unit
draw(canvas: Canvas!, x: Float, y: Float, paint: Paint!)

open Unit
draw(canvas: Canvas!, x: Float, y: Float)

open Int

open Int

open Boolean

open Boolean
setTime(relativeMilliseconds: Int)

open Int

Protected methods
open Unit

Public methods

decodeByteArray

Added in API level 1
open static fun decodeByteArray(
    data: ByteArray!,
    offset: Int,
    length: Int
): Movie!

Deprecated: Deprecated in Java.

decodeFile

Added in API level 1
open static fun decodeFile(pathName: String!): Movie!

Deprecated: Deprecated in Java.

decodeStream

Added in API level 1
open static fun decodeStream(is: InputStream!): Movie!

Deprecated: Deprecated in Java.

draw

Added in API level 1
open fun draw(
    canvas: Canvas!,
    x: Float,
    y: Float,
    paint: Paint!
): Unit

Deprecated: Deprecated in Java.

draw

Added in API level 1
open fun draw(
    canvas: Canvas!,
    x: Float,
    y: Float
): Unit

Deprecated: Deprecated in Java.

duration

Added in API level 1
open fun duration(): Int

Deprecated: Deprecated in Java.

height

Added in API level 1
open fun height(): Int

Deprecated: Deprecated in Java.

isOpaque

Added in API level 1
open fun isOpaque(): Boolean

Deprecated: Deprecated in Java.

setTime

Added in API level 1
open fun setTime(relativeMilliseconds: Int): Boolean

Deprecated: Deprecated in Java.

width

Added in API level 1
open fun width(): Int

Deprecated: Deprecated in Java.

Protected methods

finalize

Added in API level 1
protected open fun finalize(): Unit

Deprecated: Deprecated in Java.

Exceptions
java.lang.Throwable the Exception raised by this method