devices

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceType_name = map[int32]string{
		0:   "UNKNOWN",
		1:   "COMPUTER",
		2:   "TABLET",
		3:   "SMARTPHONE",
		4:   "SPEAKER",
		5:   "TV",
		6:   "AVR",
		7:   "STB",
		8:   "AUDIO_DONGLE",
		9:   "GAME_CONSOLE",
		10:  "CAST_VIDEO",
		11:  "CAST_AUDIO",
		12:  "AUTOMOBILE",
		13:  "SMARTWATCH",
		14:  "CHROMEBOOK",
		100: "UNKNOWN_SPOTIFY",
		101: "CAR_THING",
		102: "OBSERVER",
		103: "HOME_THING",
	}
	DeviceType_value = map[string]int32{
		"UNKNOWN":         0,
		"COMPUTER":        1,
		"TABLET":          2,
		"SMARTPHONE":      3,
		"SPEAKER":         4,
		"TV":              5,
		"AVR":             6,
		"STB":             7,
		"AUDIO_DONGLE":    8,
		"GAME_CONSOLE":    9,
		"CAST_VIDEO":      10,
		"CAST_AUDIO":      11,
		"AUTOMOBILE":      12,
		"SMARTWATCH":      13,
		"CHROMEBOOK":      14,
		"UNKNOWN_SPOTIFY": 100,
		"CAR_THING":       101,
		"OBSERVER":        102,
		"HOME_THING":      103,
	}
)

Enum value maps for DeviceType.

View Source
var File_connect_devices_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceAlias

type DeviceAlias struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	IsGroup     bool   `protobuf:"varint,3,opt,name=is_group,json=isGroup,proto3" json:"is_group,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceAlias) Descriptor deprecated

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

Deprecated: Use DeviceAlias.ProtoReflect.Descriptor instead.

func (*DeviceAlias) GetDisplayName

func (x *DeviceAlias) GetDisplayName() string

func (*DeviceAlias) GetId

func (x *DeviceAlias) GetId() uint32

func (*DeviceAlias) GetIsGroup

func (x *DeviceAlias) GetIsGroup() bool

func (*DeviceAlias) ProtoMessage

func (*DeviceAlias) ProtoMessage()

func (*DeviceAlias) ProtoReflect

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

func (*DeviceAlias) Reset

func (x *DeviceAlias) Reset()

func (*DeviceAlias) String

func (x *DeviceAlias) String() string

type DeviceType

type DeviceType int32
const (
	DeviceType_UNKNOWN         DeviceType = 0
	DeviceType_COMPUTER        DeviceType = 1
	DeviceType_TABLET          DeviceType = 2
	DeviceType_SMARTPHONE      DeviceType = 3
	DeviceType_SPEAKER         DeviceType = 4
	DeviceType_TV              DeviceType = 5
	DeviceType_AVR             DeviceType = 6
	DeviceType_STB             DeviceType = 7
	DeviceType_AUDIO_DONGLE    DeviceType = 8
	DeviceType_GAME_CONSOLE    DeviceType = 9
	DeviceType_CAST_VIDEO      DeviceType = 10
	DeviceType_CAST_AUDIO      DeviceType = 11
	DeviceType_AUTOMOBILE      DeviceType = 12
	DeviceType_SMARTWATCH      DeviceType = 13
	DeviceType_CHROMEBOOK      DeviceType = 14
	DeviceType_UNKNOWN_SPOTIFY DeviceType = 100
	DeviceType_CAR_THING       DeviceType = 101
	DeviceType_OBSERVER        DeviceType = 102
	DeviceType_HOME_THING      DeviceType = 103
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

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

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

Jump to

Keyboard shortcuts

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