@UnstableApi
class BaseUrl


A base URL, as defined by ISO 23009-1, 2nd edition, 5.6. and ETSI TS 103 285 V1.2.1, 10.8.2.1

Summary

Constants

const Int

The default priority.

const Int

The default weight.

const Int
PRIORITY_UNSET = -2147483648

Constant representing an unset priority in a manifest that does not declare a DVB profile.

Public constructors

BaseUrl(url: String!)

Creates an instance with an unset priority, default weight and using the URL as the service location.

BaseUrl(url: String!, serviceLocation: String!, priority: Int, weight: Int)

Creates an instance.

Public functions

Boolean
equals(o: Any?)
Int

Public properties

Int

The priority.

String!

The service location.

String!

The URL.

Int

The weight.

Constants

DEFAULT_DVB_PRIORITY

const val DEFAULT_DVB_PRIORITY = 1: Int

The default priority.

DEFAULT_WEIGHT

const val DEFAULT_WEIGHT = 1: Int

The default weight.

PRIORITY_UNSET

const val PRIORITY_UNSET = -2147483648: Int

Constant representing an unset priority in a manifest that does not declare a DVB profile.

Public constructors

BaseUrl

BaseUrl(url: String!)

Creates an instance with an unset priority, default weight and using the URL as the service location.

BaseUrl

BaseUrl(url: String!, serviceLocation: String!, priority: Int, weight: Int)

Creates an instance.

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

Public properties

priority

val priorityInt

The priority.

serviceLocation

val serviceLocationString!

The service location.

url

val urlString!

The URL.

weight

val weightInt

The weight.