streaming

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Interactivity_name = map[int32]string{
		0: "UNKNOWN_INTERACTIVITY",
		1: "INTERACTIVE",
		2: "DOWNLOAD",
	}
	Interactivity_value = map[string]int32{
		"UNKNOWN_INTERACTIVITY": 0,
		"INTERACTIVE":           1,
		"DOWNLOAD":              2,
	}
)

Enum value maps for Interactivity.

View Source
var (
	ContentType_name = map[int32]string{
		0: "UNKNOWN_CONTENT_TYPE",
		1: "AUDIO_TRACK",
		2: "AUDIO_EPISODE",
		3: "AUDIO_AD",
	}
	ContentType_value = map[string]int32{
		"UNKNOWN_CONTENT_TYPE": 0,
		"AUDIO_TRACK":          1,
		"AUDIO_EPISODE":        2,
		"AUDIO_AD":             3,
	}
)

Enum value maps for ContentType.

View Source
var File_spotify_streaming_playplay_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ContentType

type ContentType int32
const (
	ContentType_UNKNOWN_CONTENT_TYPE ContentType = 0
	ContentType_AUDIO_TRACK          ContentType = 1
	ContentType_AUDIO_EPISODE        ContentType = 2
	ContentType_AUDIO_AD             ContentType = 3
)

func (ContentType) Descriptor

func (ContentType) Enum

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

func (ContentType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type

func (*ContentType) UnmarshalJSON deprecated

func (x *ContentType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Interactivity

type Interactivity int32
const (
	Interactivity_UNKNOWN_INTERACTIVITY Interactivity = 0
	Interactivity_INTERACTIVE           Interactivity = 1
	Interactivity_DOWNLOAD              Interactivity = 2
)

func (Interactivity) Descriptor

func (Interactivity) Enum

func (x Interactivity) Enum() *Interactivity

func (Interactivity) EnumDescriptor deprecated

func (Interactivity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Interactivity.Descriptor instead.

func (Interactivity) Number

func (Interactivity) String

func (x Interactivity) String() string

func (Interactivity) Type

func (*Interactivity) UnmarshalJSON deprecated

func (x *Interactivity) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PlayPlayLicenseRequest

type PlayPlayLicenseRequest struct {
	Version       *int32         `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Token         []byte         `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	CacheId       []byte         `protobuf:"bytes,3,opt,name=cache_id,json=cacheId" json:"cache_id,omitempty"`
	Interactivity *Interactivity `protobuf:"varint,4,opt,name=interactivity,enum=spotify.stream.Interactivity" json:"interactivity,omitempty"`
	ContentType   *ContentType   `protobuf:"varint,5,opt,name=content_type,json=contentType,enum=spotify.stream.ContentType" json:"content_type,omitempty"`
	Timestamp     *int64         `protobuf:"varint,6,opt,name=timestamp" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayPlayLicenseRequest) Descriptor deprecated

func (*PlayPlayLicenseRequest) Descriptor() ([]byte, []int)

Deprecated: Use PlayPlayLicenseRequest.ProtoReflect.Descriptor instead.

func (*PlayPlayLicenseRequest) GetCacheId

func (x *PlayPlayLicenseRequest) GetCacheId() []byte

func (*PlayPlayLicenseRequest) GetContentType

func (x *PlayPlayLicenseRequest) GetContentType() ContentType

func (*PlayPlayLicenseRequest) GetInteractivity

func (x *PlayPlayLicenseRequest) GetInteractivity() Interactivity

func (*PlayPlayLicenseRequest) GetTimestamp

func (x *PlayPlayLicenseRequest) GetTimestamp() int64

func (*PlayPlayLicenseRequest) GetToken

func (x *PlayPlayLicenseRequest) GetToken() []byte

func (*PlayPlayLicenseRequest) GetVersion

func (x *PlayPlayLicenseRequest) GetVersion() int32

func (*PlayPlayLicenseRequest) ProtoMessage

func (*PlayPlayLicenseRequest) ProtoMessage()

func (*PlayPlayLicenseRequest) ProtoReflect

func (x *PlayPlayLicenseRequest) ProtoReflect() protoreflect.Message

func (*PlayPlayLicenseRequest) Reset

func (x *PlayPlayLicenseRequest) Reset()

func (*PlayPlayLicenseRequest) String

func (x *PlayPlayLicenseRequest) String() string

type PlayPlayLicenseResponse

type PlayPlayLicenseResponse struct {
	ObfuscatedKey []byte `protobuf:"bytes,1,opt,name=obfuscated_key,json=obfuscatedKey" json:"obfuscated_key,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayPlayLicenseResponse) Descriptor deprecated

func (*PlayPlayLicenseResponse) Descriptor() ([]byte, []int)

Deprecated: Use PlayPlayLicenseResponse.ProtoReflect.Descriptor instead.

func (*PlayPlayLicenseResponse) GetObfuscatedKey

func (x *PlayPlayLicenseResponse) GetObfuscatedKey() []byte

func (*PlayPlayLicenseResponse) ProtoMessage

func (*PlayPlayLicenseResponse) ProtoMessage()

func (*PlayPlayLicenseResponse) ProtoReflect

func (x *PlayPlayLicenseResponse) ProtoReflect() protoreflect.Message

func (*PlayPlayLicenseResponse) Reset

func (x *PlayPlayLicenseResponse) Reset()

func (*PlayPlayLicenseResponse) String

func (x *PlayPlayLicenseResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL