criterion

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: OSL-3.0 Imports: 6 Imported by: 0

README

criterion

android

https://play.google.com/store/apps/details?id=com.criterionchannel

> play -i com.criterionchannel
details[6] = The Criterion Collection
details[8] = 0 USD
details[13][1][4] = 8.701.1
details[13][1][16] = Apr 8, 2024
details[13][1][17] = APK APK APK APK
details[13][1][82][1][1] = 5.0 and up
downloads = 192.95 thousand
name = The Criterion Channel
size = 31.98 megabyte
version code = 11271

Create Android 6 device. Install user certificate

<intent-filter>
   <action android:name="android.intent.action.VIEW"/>
   <category android:name="android.intent.category.DEFAULT"/>
   <category android:name="android.intent.category.BROWSABLE"/>
   <data android:scheme="@string/scheme"/>
</intent-filter>

then:

res\values\strings.xml
797:    <string name="scheme">vhxcriterionchannel</string>

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Byte added in v1.10.1

type Byte[T any] []byte

func NewToken added in v1.10.1

func NewToken(username, password string) (Byte[Token], error)

type File added in v1.10.1

type File struct {
	DrmAuthorizationToken string `json:"drm_authorization_token"`
	Links                 struct {
		Source struct {
			Href string // MPD
		}
	} `json:"_links"`
	Method string
}

func (*File) Widevine added in v1.10.1

func (f *File) Widevine(data []byte) ([]byte, error)

type Files added in v1.10.1

type Files []File

func (Files) Dash added in v1.10.1

func (f Files) Dash() (*File, bool)

func (*Files) Unmarshal added in v1.10.1

func (f *Files) Unmarshal(data Byte[Files]) error

type Token added in v1.10.1

type Token struct {
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
}

func (*Token) Files added in v1.10.1

func (t *Token) Files(video1 *Video) (Byte[Files], error)

func (*Token) Refresh added in v1.10.2

func (t *Token) Refresh() (Byte[Token], error)

func (*Token) Unmarshal added in v1.10.1

func (t *Token) Unmarshal(data Byte[Token]) error

func (*Token) Video added in v1.10.1

func (t *Token) Video(slug string) (*Video, error)

type Video added in v1.10.1

type Video struct {
	Links struct {
		Files struct {
			Href string
		}
	} `json:"_links"`
	Message string
	Name    string
}

Jump to

Keyboard shortcuts

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