# Psi

abstract class Psi(pid: Int, id: Byte, idExtension: Short, var version: Byte, sectionSyntaxIndicator: Boolean = true, privateBit: Boolean = false, indicator: Boolean = true, sectionNumber: Byte = 0, lastSectionNumber: Byte = 0) : MpegTsPayload

Created by pedro on 28/8/23.

#### Inheritors

Pat
Pmt
Sdt

## Constructors

Psi
Link copied to clipboard
constructor(pid: Int, id: Byte, idExtension: Short, version: Byte, sectionSyntaxIndicator: Boolean = true, privateBit: Boolean = false, indicator: Boolean = true, sectionNumber: Byte = 0, lastSectionNumber: Byte = 0)

## Properties

isKeyFrame
Link copied to clipboard
val isKeyFrame: Boolean
pid
Link copied to clipboard
val pid: Int
version
Link copied to clipboard
var version: Byte

## Functions

getSize
Link copied to clipboard
fun getSize(): Int
getTableDataSize
Link copied to clipboard
abstract fun getTableDataSize(): Int
write
Link copied to clipboard
fun write(byteBuffer: ByteBuffer)
writeData
Link copied to clipboard
abstract fun writeData(byteBuffer: ByteBuffer)