Documentation
¶
Index ¶
- type MediaControllerCallbackClient
- func (c *MediaControllerCallbackClient) OnAudioInfoChanged(ctx context.Context, arg0 int64) error
- func (c *MediaControllerCallbackClient) OnExtrasChanged(ctx context.Context, arg0 int64) error
- func (c *MediaControllerCallbackClient) OnMetadataChanged(ctx context.Context, arg0 int64) error
- func (c *MediaControllerCallbackClient) OnPlaybackStateChanged(ctx context.Context, arg0 int64) error
- func (c *MediaControllerCallbackClient) OnQueueTitleChanged(ctx context.Context, arg0 string) error
- func (c *MediaControllerCallbackClient) OnSessionDestroyed(ctx context.Context) error
- func (c *MediaControllerCallbackClient) OnSessionEvent(ctx context.Context, arg0 string, arg1 int64) error
- type MediaControllerClient
- func (c *MediaControllerClient) AdjustVolume(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
- func (c *MediaControllerClient) DispatchMediaButtonEvent(ctx context.Context, handle int64, arg0 int64) (bool, error)
- func (c *MediaControllerClient) GetExtras(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetFlags(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetMetadata(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetPackageName(ctx context.Context, handle int64) (string, error)
- func (c *MediaControllerClient) GetPlaybackInfo(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetPlaybackState(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetQueue(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetQueueTitle(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetRatingType(ctx context.Context, handle int64) (int32, error)
- func (c *MediaControllerClient) GetSessionActivity(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetSessionInfo(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetSessionToken(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) GetTag(ctx context.Context, handle int64) (string, error)
- func (c *MediaControllerClient) GetTransportControls(ctx context.Context, handle int64) (int64, error)
- func (c *MediaControllerClient) RegisterCallback(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaControllerClient) SendCommand(ctx context.Context, handle int64, arg0 string, arg1 int64, arg2 int64) error
- func (c *MediaControllerClient) SetVolumeTo(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
- func (c *MediaControllerClient) UnregisterCallback(ctx context.Context, handle int64, arg0 int64) error
- type MediaControllerPlaybackInfoClient
- func (c *MediaControllerPlaybackInfoClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *MediaControllerPlaybackInfoClient) GetAudioAttributes(ctx context.Context) (int64, error)
- func (c *MediaControllerPlaybackInfoClient) GetCurrentVolume(ctx context.Context) (int32, error)
- func (c *MediaControllerPlaybackInfoClient) GetMaxVolume(ctx context.Context) (int32, error)
- func (c *MediaControllerPlaybackInfoClient) GetPlaybackType(ctx context.Context) (int32, error)
- func (c *MediaControllerPlaybackInfoClient) GetVolumeControl(ctx context.Context) (int32, error)
- func (c *MediaControllerPlaybackInfoClient) GetVolumeControlId(ctx context.Context) (string, error)
- func (c *MediaControllerPlaybackInfoClient) ToString(ctx context.Context) (string, error)
- func (c *MediaControllerPlaybackInfoClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type MediaControllerTransportControlsClient
- func (c *MediaControllerTransportControlsClient) FastForward(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) Pause(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) Play(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) PlayFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) PlayFromSearch(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) PlayFromUri(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) Prepare(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) PrepareFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) PrepareFromSearch(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) PrepareFromUri(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) Rewind(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) SeekTo(ctx context.Context, arg0 int64) error
- func (c *MediaControllerTransportControlsClient) SendCustomAction2(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) SendCustomAction2_1(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaControllerTransportControlsClient) SetPlaybackSpeed(ctx context.Context, arg0 float32) error
- func (c *MediaControllerTransportControlsClient) SetRating(ctx context.Context, arg0 int64) error
- func (c *MediaControllerTransportControlsClient) SkipToNext(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) SkipToPrevious(ctx context.Context) error
- func (c *MediaControllerTransportControlsClient) SkipToQueueItem(ctx context.Context, arg0 int64) error
- func (c *MediaControllerTransportControlsClient) Stop(ctx context.Context) error
- type MediaSessionCallbackClient
- func (c *MediaSessionCallbackClient) OnCommand(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error
- func (c *MediaSessionCallbackClient) OnCustomAction(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnFastForward(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnMediaButtonEvent(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaSessionCallbackClient) OnPause(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnPlay(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnPlayFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnPlayFromSearch(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnPlayFromUri(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnPrepare(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnPrepareFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnPrepareFromSearch(ctx context.Context, arg0 string, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnPrepareFromUri(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaSessionCallbackClient) OnRewind(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnSeekTo(ctx context.Context, arg0 int64) error
- func (c *MediaSessionCallbackClient) OnSetPlaybackSpeed(ctx context.Context, arg0 float32) error
- func (c *MediaSessionCallbackClient) OnSetRating(ctx context.Context, arg0 int64) error
- func (c *MediaSessionCallbackClient) OnSkipToNext(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnSkipToPrevious(ctx context.Context) error
- func (c *MediaSessionCallbackClient) OnSkipToQueueItem(ctx context.Context, arg0 int64) error
- func (c *MediaSessionCallbackClient) OnStop(ctx context.Context) error
- type MediaSessionClient
- func (c *MediaSessionClient) GetController(ctx context.Context, handle int64) (int64, error)
- func (c *MediaSessionClient) GetCurrentControllerInfo(ctx context.Context, handle int64) (int64, error)
- func (c *MediaSessionClient) GetSessionToken(ctx context.Context, handle int64) (int64, error)
- func (c *MediaSessionClient) IsActive(ctx context.Context, handle int64) (bool, error)
- func (c *MediaSessionClient) Release(ctx context.Context, handle int64) error
- func (c *MediaSessionClient) SendSessionEvent(ctx context.Context, handle int64, arg0 string, arg1 int64) error
- func (c *MediaSessionClient) SetActive(ctx context.Context, handle int64, arg0 bool) error
- func (c *MediaSessionClient) SetCallback(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetExtras(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetFlags(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaSessionClient) SetMediaButtonBroadcastReceiver(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetMediaButtonReceiver(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetMetadata(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetPlaybackState(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetPlaybackToLocal(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetPlaybackToRemote(ctx context.Context, handle int64, arg0 int64) error
- func (c *MediaSessionClient) SetQueueTitle(ctx context.Context, handle int64, arg0 string) error
- func (c *MediaSessionClient) SetRatingType(ctx context.Context, handle int64, arg0 int32) error
- func (c *MediaSessionClient) SetSessionActivity(ctx context.Context, handle int64, arg0 int64) error
- type MediaSessionManagerClient
- func (c *MediaSessionManagerClient) AddOnActiveSessionsChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaSessionManagerClient) AddOnMediaKeyEventSessionChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *MediaSessionManagerClient) AddOnSession2TokensChangedListener(ctx context.Context, arg0 int64) error
- func (c *MediaSessionManagerClient) GetActiveSessions(ctx context.Context, arg0 int64) (int64, error)
- func (c *MediaSessionManagerClient) GetMediaKeyEventSession(ctx context.Context) (int64, error)
- func (c *MediaSessionManagerClient) GetMediaKeyEventSessionPackageName(ctx context.Context) (string, error)
- func (c *MediaSessionManagerClient) GetSession2Tokens(ctx context.Context) (int64, error)
- func (c *MediaSessionManagerClient) IsTrustedForMediaControl(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaSessionManagerClient) NotifySession2Created(ctx context.Context, arg0 int64) error
- func (c *MediaSessionManagerClient) RemoveOnActiveSessionsChangedListener(ctx context.Context, arg0 int64) error
- func (c *MediaSessionManagerClient) RemoveOnMediaKeyEventSessionChangedListener(ctx context.Context, arg0 int64) error
- func (c *MediaSessionManagerClient) RemoveOnSession2TokensChangedListener(ctx context.Context, arg0 int64) error
- type MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient
- type MediaSessionManagerRemoteUserInfoClient
- func (c *MediaSessionManagerRemoteUserInfoClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaSessionManagerRemoteUserInfoClient) GetPackageName(ctx context.Context) (string, error)
- func (c *MediaSessionManagerRemoteUserInfoClient) GetPid(ctx context.Context) (int32, error)
- func (c *MediaSessionManagerRemoteUserInfoClient) GetUid(ctx context.Context) (int32, error)
- func (c *MediaSessionManagerRemoteUserInfoClient) HashCode(ctx context.Context) (int32, error)
- type MediaSessionQueueItemClient
- func (c *MediaSessionQueueItemClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *MediaSessionQueueItemClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaSessionQueueItemClient) GetDescription(ctx context.Context) (int64, error)
- func (c *MediaSessionQueueItemClient) GetQueueId(ctx context.Context) (int64, error)
- func (c *MediaSessionQueueItemClient) ToString(ctx context.Context) (string, error)
- func (c *MediaSessionQueueItemClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type MediaSessionTokenClient
- func (c *MediaSessionTokenClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *MediaSessionTokenClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaSessionTokenClient) HashCode(ctx context.Context) (int32, error)
- func (c *MediaSessionTokenClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type PlaybackStateBuilderClient
- func (c *PlaybackStateBuilderClient) AddCustomAction1(ctx context.Context, arg0 int64) (int64, error)
- func (c *PlaybackStateBuilderClient) AddCustomAction3_1(ctx context.Context, arg0 string, arg1 string, arg2 int32) (int64, error)
- func (c *PlaybackStateBuilderClient) Build(ctx context.Context) (int64, error)
- func (c *PlaybackStateBuilderClient) SetActions(ctx context.Context, arg0 int64) (int64, error)
- func (c *PlaybackStateBuilderClient) SetActiveQueueItemId(ctx context.Context, arg0 int64) (int64, error)
- func (c *PlaybackStateBuilderClient) SetBufferedPosition(ctx context.Context, arg0 int64) (int64, error)
- func (c *PlaybackStateBuilderClient) SetErrorMessage(ctx context.Context, arg0 string) (int64, error)
- func (c *PlaybackStateBuilderClient) SetExtras(ctx context.Context, arg0 int64) (int64, error)
- func (c *PlaybackStateBuilderClient) SetState3(ctx context.Context, arg0 int32, arg1 int64, arg2 float32) (int64, error)
- func (c *PlaybackStateBuilderClient) SetState4_1(ctx context.Context, arg0 int32, arg1 int64, arg2 float32, arg3 int64) (int64, error)
- type PlaybackStateClient
- func (c *PlaybackStateClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *PlaybackStateClient) GetActions(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetActiveQueueItemId(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetBufferedPosition(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetCustomActions(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetErrorMessage(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetExtras(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetLastPositionUpdateTime(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetPlaybackSpeed(ctx context.Context) (float32, error)
- func (c *PlaybackStateClient) GetPosition(ctx context.Context) (int64, error)
- func (c *PlaybackStateClient) GetState(ctx context.Context) (int32, error)
- func (c *PlaybackStateClient) IsActive(ctx context.Context) (bool, error)
- func (c *PlaybackStateClient) ToString(ctx context.Context) (string, error)
- func (c *PlaybackStateClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type PlaybackStateCustomActionClient
- func (c *PlaybackStateCustomActionClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *PlaybackStateCustomActionClient) GetAction(ctx context.Context) (string, error)
- func (c *PlaybackStateCustomActionClient) GetExtras(ctx context.Context) (int64, error)
- func (c *PlaybackStateCustomActionClient) GetIcon(ctx context.Context) (int32, error)
- func (c *PlaybackStateCustomActionClient) GetName(ctx context.Context) (int64, error)
- func (c *PlaybackStateCustomActionClient) ToString(ctx context.Context) (string, error)
- func (c *PlaybackStateCustomActionClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaControllerCallbackClient ¶ added in v0.0.6
type MediaControllerCallbackClient struct {
// contains filtered or unexported fields
}
MediaControllerCallbackClient wraps the gRPC MediaControllerCallbackService client.
func NewMediaControllerCallbackClient ¶ added in v0.0.6
func NewMediaControllerCallbackClient(cc grpc.ClientConnInterface) *MediaControllerCallbackClient
NewMediaControllerCallbackClient creates a new MediaControllerCallback client.
func (*MediaControllerCallbackClient) OnAudioInfoChanged ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnAudioInfoChanged(ctx context.Context, arg0 int64) error
OnAudioInfoChanged calls the OnAudioInfoChanged RPC.
func (*MediaControllerCallbackClient) OnExtrasChanged ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnExtrasChanged(ctx context.Context, arg0 int64) error
OnExtrasChanged calls the OnExtrasChanged RPC.
func (*MediaControllerCallbackClient) OnMetadataChanged ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnMetadataChanged(ctx context.Context, arg0 int64) error
OnMetadataChanged calls the OnMetadataChanged RPC.
func (*MediaControllerCallbackClient) OnPlaybackStateChanged ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnPlaybackStateChanged(ctx context.Context, arg0 int64) error
OnPlaybackStateChanged calls the OnPlaybackStateChanged RPC.
func (*MediaControllerCallbackClient) OnQueueTitleChanged ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnQueueTitleChanged(ctx context.Context, arg0 string) error
OnQueueTitleChanged calls the OnQueueTitleChanged RPC.
func (*MediaControllerCallbackClient) OnSessionDestroyed ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnSessionDestroyed(ctx context.Context) error
OnSessionDestroyed calls the OnSessionDestroyed RPC.
func (*MediaControllerCallbackClient) OnSessionEvent ¶ added in v0.0.6
func (c *MediaControllerCallbackClient) OnSessionEvent(ctx context.Context, arg0 string, arg1 int64) error
OnSessionEvent calls the OnSessionEvent RPC.
type MediaControllerClient ¶ added in v0.0.6
type MediaControllerClient struct {
// contains filtered or unexported fields
}
MediaControllerClient wraps the gRPC MediaControllerService client.
func NewMediaControllerClient ¶ added in v0.0.6
func NewMediaControllerClient(cc grpc.ClientConnInterface) *MediaControllerClient
NewMediaControllerClient creates a new MediaController client.
func (*MediaControllerClient) AdjustVolume ¶ added in v0.0.6
func (c *MediaControllerClient) AdjustVolume(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
AdjustVolume calls the AdjustVolume RPC.
func (*MediaControllerClient) DispatchMediaButtonEvent ¶ added in v0.0.6
func (c *MediaControllerClient) DispatchMediaButtonEvent(ctx context.Context, handle int64, arg0 int64) (bool, error)
DispatchMediaButtonEvent calls the DispatchMediaButtonEvent RPC.
func (*MediaControllerClient) GetMetadata ¶ added in v0.0.6
GetMetadata calls the GetMetadata RPC.
func (*MediaControllerClient) GetPackageName ¶ added in v0.0.6
GetPackageName calls the GetPackageName RPC.
func (*MediaControllerClient) GetPlaybackInfo ¶ added in v0.0.6
GetPlaybackInfo calls the GetPlaybackInfo RPC.
func (*MediaControllerClient) GetPlaybackState ¶ added in v0.0.6
GetPlaybackState calls the GetPlaybackState RPC.
func (*MediaControllerClient) GetQueueTitle ¶ added in v0.0.6
GetQueueTitle calls the GetQueueTitle RPC.
func (*MediaControllerClient) GetRatingType ¶ added in v0.0.6
GetRatingType calls the GetRatingType RPC.
func (*MediaControllerClient) GetSessionActivity ¶ added in v0.0.6
func (c *MediaControllerClient) GetSessionActivity(ctx context.Context, handle int64) (int64, error)
GetSessionActivity calls the GetSessionActivity RPC.
func (*MediaControllerClient) GetSessionInfo ¶ added in v0.0.6
GetSessionInfo calls the GetSessionInfo RPC.
func (*MediaControllerClient) GetSessionToken ¶ added in v0.0.6
GetSessionToken calls the GetSessionToken RPC.
func (*MediaControllerClient) GetTransportControls ¶ added in v0.0.6
func (c *MediaControllerClient) GetTransportControls(ctx context.Context, handle int64) (int64, error)
GetTransportControls calls the GetTransportControls RPC.
func (*MediaControllerClient) RegisterCallback ¶ added in v0.0.6
func (c *MediaControllerClient) RegisterCallback(ctx context.Context, handle int64, arg0 int64) error
RegisterCallback calls the RegisterCallback RPC.
func (*MediaControllerClient) SendCommand ¶ added in v0.0.6
func (c *MediaControllerClient) SendCommand(ctx context.Context, handle int64, arg0 string, arg1 int64, arg2 int64) error
SendCommand calls the SendCommand RPC.
func (*MediaControllerClient) SetVolumeTo ¶ added in v0.0.6
func (c *MediaControllerClient) SetVolumeTo(ctx context.Context, handle int64, arg0 int32, arg1 int32) error
SetVolumeTo calls the SetVolumeTo RPC.
func (*MediaControllerClient) UnregisterCallback ¶ added in v0.0.6
func (c *MediaControllerClient) UnregisterCallback(ctx context.Context, handle int64, arg0 int64) error
UnregisterCallback calls the UnregisterCallback RPC.
type MediaControllerPlaybackInfoClient ¶ added in v0.0.6
type MediaControllerPlaybackInfoClient struct {
// contains filtered or unexported fields
}
MediaControllerPlaybackInfoClient wraps the gRPC MediaControllerPlaybackInfoService client.
func NewMediaControllerPlaybackInfoClient ¶ added in v0.0.6
func NewMediaControllerPlaybackInfoClient(cc grpc.ClientConnInterface) *MediaControllerPlaybackInfoClient
NewMediaControllerPlaybackInfoClient creates a new MediaControllerPlaybackInfo client.
func (*MediaControllerPlaybackInfoClient) DescribeContents ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*MediaControllerPlaybackInfoClient) GetAudioAttributes ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetAudioAttributes(ctx context.Context) (int64, error)
GetAudioAttributes calls the GetAudioAttributes RPC.
func (*MediaControllerPlaybackInfoClient) GetCurrentVolume ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetCurrentVolume(ctx context.Context) (int32, error)
GetCurrentVolume calls the GetCurrentVolume RPC.
func (*MediaControllerPlaybackInfoClient) GetMaxVolume ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetMaxVolume(ctx context.Context) (int32, error)
GetMaxVolume calls the GetMaxVolume RPC.
func (*MediaControllerPlaybackInfoClient) GetPlaybackType ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetPlaybackType(ctx context.Context) (int32, error)
GetPlaybackType calls the GetPlaybackType RPC.
func (*MediaControllerPlaybackInfoClient) GetVolumeControl ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetVolumeControl(ctx context.Context) (int32, error)
GetVolumeControl calls the GetVolumeControl RPC.
func (*MediaControllerPlaybackInfoClient) GetVolumeControlId ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) GetVolumeControlId(ctx context.Context) (string, error)
GetVolumeControlId calls the GetVolumeControlId RPC.
func (*MediaControllerPlaybackInfoClient) ToString ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*MediaControllerPlaybackInfoClient) WriteToParcel ¶ added in v0.0.6
func (c *MediaControllerPlaybackInfoClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type MediaControllerTransportControlsClient ¶ added in v0.0.6
type MediaControllerTransportControlsClient struct {
// contains filtered or unexported fields
}
MediaControllerTransportControlsClient wraps the gRPC MediaControllerTransportControlsService client.
func NewMediaControllerTransportControlsClient ¶ added in v0.0.6
func NewMediaControllerTransportControlsClient(cc grpc.ClientConnInterface) *MediaControllerTransportControlsClient
NewMediaControllerTransportControlsClient creates a new MediaControllerTransportControls client.
func (*MediaControllerTransportControlsClient) FastForward ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) FastForward(ctx context.Context) error
FastForward calls the FastForward RPC.
func (*MediaControllerTransportControlsClient) Pause ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) Pause(ctx context.Context) error
Pause calls the Pause RPC.
func (*MediaControllerTransportControlsClient) Play ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) Play(ctx context.Context) error
Play calls the Play RPC.
func (*MediaControllerTransportControlsClient) PlayFromMediaId ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PlayFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
PlayFromMediaId calls the PlayFromMediaId RPC.
func (*MediaControllerTransportControlsClient) PlayFromSearch ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PlayFromSearch(ctx context.Context, arg0 string, arg1 int64) error
PlayFromSearch calls the PlayFromSearch RPC.
func (*MediaControllerTransportControlsClient) PlayFromUri ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PlayFromUri(ctx context.Context, arg0 int64, arg1 int64) error
PlayFromUri calls the PlayFromUri RPC.
func (*MediaControllerTransportControlsClient) Prepare ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) Prepare(ctx context.Context) error
Prepare calls the Prepare RPC.
func (*MediaControllerTransportControlsClient) PrepareFromMediaId ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PrepareFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
PrepareFromMediaId calls the PrepareFromMediaId RPC.
func (*MediaControllerTransportControlsClient) PrepareFromSearch ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PrepareFromSearch(ctx context.Context, arg0 string, arg1 int64) error
PrepareFromSearch calls the PrepareFromSearch RPC.
func (*MediaControllerTransportControlsClient) PrepareFromUri ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) PrepareFromUri(ctx context.Context, arg0 int64, arg1 int64) error
PrepareFromUri calls the PrepareFromUri RPC.
func (*MediaControllerTransportControlsClient) Rewind ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) Rewind(ctx context.Context) error
Rewind calls the Rewind RPC.
func (*MediaControllerTransportControlsClient) SeekTo ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SeekTo(ctx context.Context, arg0 int64) error
SeekTo calls the SeekTo RPC.
func (*MediaControllerTransportControlsClient) SendCustomAction2 ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SendCustomAction2(ctx context.Context, arg0 int64, arg1 int64) error
SendCustomAction2 calls the SendCustomAction2 RPC.
func (*MediaControllerTransportControlsClient) SendCustomAction2_1 ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SendCustomAction2_1(ctx context.Context, arg0 string, arg1 int64) error
SendCustomAction2_1 calls the SendCustomAction2_1 RPC.
func (*MediaControllerTransportControlsClient) SetPlaybackSpeed ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SetPlaybackSpeed(ctx context.Context, arg0 float32) error
SetPlaybackSpeed calls the SetPlaybackSpeed RPC.
func (*MediaControllerTransportControlsClient) SetRating ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SetRating(ctx context.Context, arg0 int64) error
SetRating calls the SetRating RPC.
func (*MediaControllerTransportControlsClient) SkipToNext ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SkipToNext(ctx context.Context) error
SkipToNext calls the SkipToNext RPC.
func (*MediaControllerTransportControlsClient) SkipToPrevious ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SkipToPrevious(ctx context.Context) error
SkipToPrevious calls the SkipToPrevious RPC.
func (*MediaControllerTransportControlsClient) SkipToQueueItem ¶ added in v0.0.6
func (c *MediaControllerTransportControlsClient) SkipToQueueItem(ctx context.Context, arg0 int64) error
SkipToQueueItem calls the SkipToQueueItem RPC.
type MediaSessionCallbackClient ¶ added in v0.0.6
type MediaSessionCallbackClient struct {
// contains filtered or unexported fields
}
MediaSessionCallbackClient wraps the gRPC MediaSessionCallbackService client.
func NewMediaSessionCallbackClient ¶ added in v0.0.6
func NewMediaSessionCallbackClient(cc grpc.ClientConnInterface) *MediaSessionCallbackClient
NewMediaSessionCallbackClient creates a new MediaSessionCallback client.
func (*MediaSessionCallbackClient) OnCommand ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnCommand(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error
OnCommand calls the OnCommand RPC.
func (*MediaSessionCallbackClient) OnCustomAction ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnCustomAction(ctx context.Context, arg0 string, arg1 int64) error
OnCustomAction calls the OnCustomAction RPC.
func (*MediaSessionCallbackClient) OnFastForward ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnFastForward(ctx context.Context) error
OnFastForward calls the OnFastForward RPC.
func (*MediaSessionCallbackClient) OnMediaButtonEvent ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnMediaButtonEvent(ctx context.Context, arg0 int64) (bool, error)
OnMediaButtonEvent calls the OnMediaButtonEvent RPC.
func (*MediaSessionCallbackClient) OnPause ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPause(ctx context.Context) error
OnPause calls the OnPause RPC.
func (*MediaSessionCallbackClient) OnPlay ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPlay(ctx context.Context) error
OnPlay calls the OnPlay RPC.
func (*MediaSessionCallbackClient) OnPlayFromMediaId ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPlayFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
OnPlayFromMediaId calls the OnPlayFromMediaId RPC.
func (*MediaSessionCallbackClient) OnPlayFromSearch ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPlayFromSearch(ctx context.Context, arg0 string, arg1 int64) error
OnPlayFromSearch calls the OnPlayFromSearch RPC.
func (*MediaSessionCallbackClient) OnPlayFromUri ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPlayFromUri(ctx context.Context, arg0 int64, arg1 int64) error
OnPlayFromUri calls the OnPlayFromUri RPC.
func (*MediaSessionCallbackClient) OnPrepare ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPrepare(ctx context.Context) error
OnPrepare calls the OnPrepare RPC.
func (*MediaSessionCallbackClient) OnPrepareFromMediaId ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPrepareFromMediaId(ctx context.Context, arg0 string, arg1 int64) error
OnPrepareFromMediaId calls the OnPrepareFromMediaId RPC.
func (*MediaSessionCallbackClient) OnPrepareFromSearch ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPrepareFromSearch(ctx context.Context, arg0 string, arg1 int64) error
OnPrepareFromSearch calls the OnPrepareFromSearch RPC.
func (*MediaSessionCallbackClient) OnPrepareFromUri ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnPrepareFromUri(ctx context.Context, arg0 int64, arg1 int64) error
OnPrepareFromUri calls the OnPrepareFromUri RPC.
func (*MediaSessionCallbackClient) OnRewind ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnRewind(ctx context.Context) error
OnRewind calls the OnRewind RPC.
func (*MediaSessionCallbackClient) OnSeekTo ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSeekTo(ctx context.Context, arg0 int64) error
OnSeekTo calls the OnSeekTo RPC.
func (*MediaSessionCallbackClient) OnSetPlaybackSpeed ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSetPlaybackSpeed(ctx context.Context, arg0 float32) error
OnSetPlaybackSpeed calls the OnSetPlaybackSpeed RPC.
func (*MediaSessionCallbackClient) OnSetRating ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSetRating(ctx context.Context, arg0 int64) error
OnSetRating calls the OnSetRating RPC.
func (*MediaSessionCallbackClient) OnSkipToNext ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSkipToNext(ctx context.Context) error
OnSkipToNext calls the OnSkipToNext RPC.
func (*MediaSessionCallbackClient) OnSkipToPrevious ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSkipToPrevious(ctx context.Context) error
OnSkipToPrevious calls the OnSkipToPrevious RPC.
func (*MediaSessionCallbackClient) OnSkipToQueueItem ¶ added in v0.0.6
func (c *MediaSessionCallbackClient) OnSkipToQueueItem(ctx context.Context, arg0 int64) error
OnSkipToQueueItem calls the OnSkipToQueueItem RPC.
type MediaSessionClient ¶ added in v0.0.6
type MediaSessionClient struct {
// contains filtered or unexported fields
}
MediaSessionClient wraps the gRPC MediaSessionService client.
func NewMediaSessionClient ¶ added in v0.0.6
func NewMediaSessionClient(cc grpc.ClientConnInterface) *MediaSessionClient
NewMediaSessionClient creates a new MediaSession client.
func (*MediaSessionClient) GetController ¶ added in v0.0.6
GetController calls the GetController RPC.
func (*MediaSessionClient) GetCurrentControllerInfo ¶ added in v0.0.6
func (c *MediaSessionClient) GetCurrentControllerInfo(ctx context.Context, handle int64) (int64, error)
GetCurrentControllerInfo calls the GetCurrentControllerInfo RPC.
func (*MediaSessionClient) GetSessionToken ¶ added in v0.0.6
GetSessionToken calls the GetSessionToken RPC.
func (*MediaSessionClient) Release ¶ added in v0.0.6
func (c *MediaSessionClient) Release(ctx context.Context, handle int64) error
Release calls the Release RPC.
func (*MediaSessionClient) SendSessionEvent ¶ added in v0.0.6
func (c *MediaSessionClient) SendSessionEvent(ctx context.Context, handle int64, arg0 string, arg1 int64) error
SendSessionEvent calls the SendSessionEvent RPC.
func (*MediaSessionClient) SetCallback ¶ added in v0.0.6
SetCallback calls the SetCallback RPC.
func (*MediaSessionClient) SetMediaButtonBroadcastReceiver ¶ added in v0.0.6
func (c *MediaSessionClient) SetMediaButtonBroadcastReceiver(ctx context.Context, handle int64, arg0 int64) error
SetMediaButtonBroadcastReceiver calls the SetMediaButtonBroadcastReceiver RPC.
func (*MediaSessionClient) SetMediaButtonReceiver ¶ added in v0.0.6
func (c *MediaSessionClient) SetMediaButtonReceiver(ctx context.Context, handle int64, arg0 int64) error
SetMediaButtonReceiver calls the SetMediaButtonReceiver RPC.
func (*MediaSessionClient) SetMetadata ¶ added in v0.0.6
SetMetadata calls the SetMetadata RPC.
func (*MediaSessionClient) SetPlaybackState ¶ added in v0.0.6
SetPlaybackState calls the SetPlaybackState RPC.
func (*MediaSessionClient) SetPlaybackToLocal ¶ added in v0.0.6
func (c *MediaSessionClient) SetPlaybackToLocal(ctx context.Context, handle int64, arg0 int64) error
SetPlaybackToLocal calls the SetPlaybackToLocal RPC.
func (*MediaSessionClient) SetPlaybackToRemote ¶ added in v0.0.6
func (c *MediaSessionClient) SetPlaybackToRemote(ctx context.Context, handle int64, arg0 int64) error
SetPlaybackToRemote calls the SetPlaybackToRemote RPC.
func (*MediaSessionClient) SetQueueTitle ¶ added in v0.0.6
SetQueueTitle calls the SetQueueTitle RPC.
func (*MediaSessionClient) SetRatingType ¶ added in v0.0.6
SetRatingType calls the SetRatingType RPC.
func (*MediaSessionClient) SetSessionActivity ¶ added in v0.0.6
func (c *MediaSessionClient) SetSessionActivity(ctx context.Context, handle int64, arg0 int64) error
SetSessionActivity calls the SetSessionActivity RPC.
type MediaSessionManagerClient ¶ added in v0.0.6
type MediaSessionManagerClient struct {
// contains filtered or unexported fields
}
MediaSessionManagerClient wraps the gRPC MediaSessionManagerService client.
func NewMediaSessionManagerClient ¶ added in v0.0.6
func NewMediaSessionManagerClient(cc grpc.ClientConnInterface) *MediaSessionManagerClient
NewMediaSessionManagerClient creates a new MediaSessionManager client.
func (*MediaSessionManagerClient) AddOnActiveSessionsChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) AddOnActiveSessionsChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
AddOnActiveSessionsChangedListener calls the AddOnActiveSessionsChangedListener RPC.
func (*MediaSessionManagerClient) AddOnMediaKeyEventSessionChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) AddOnMediaKeyEventSessionChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
AddOnMediaKeyEventSessionChangedListener calls the AddOnMediaKeyEventSessionChangedListener RPC.
func (*MediaSessionManagerClient) AddOnSession2TokensChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) AddOnSession2TokensChangedListener(ctx context.Context, arg0 int64) error
AddOnSession2TokensChangedListener calls the AddOnSession2TokensChangedListener RPC.
func (*MediaSessionManagerClient) GetActiveSessions ¶ added in v0.0.6
func (c *MediaSessionManagerClient) GetActiveSessions(ctx context.Context, arg0 int64) (int64, error)
GetActiveSessions calls the GetActiveSessions RPC.
func (*MediaSessionManagerClient) GetMediaKeyEventSession ¶ added in v0.0.6
func (c *MediaSessionManagerClient) GetMediaKeyEventSession(ctx context.Context) (int64, error)
GetMediaKeyEventSession calls the GetMediaKeyEventSession RPC.
func (*MediaSessionManagerClient) GetMediaKeyEventSessionPackageName ¶ added in v0.0.6
func (c *MediaSessionManagerClient) GetMediaKeyEventSessionPackageName(ctx context.Context) (string, error)
GetMediaKeyEventSessionPackageName calls the GetMediaKeyEventSessionPackageName RPC.
func (*MediaSessionManagerClient) GetSession2Tokens ¶ added in v0.0.6
func (c *MediaSessionManagerClient) GetSession2Tokens(ctx context.Context) (int64, error)
GetSession2Tokens calls the GetSession2Tokens RPC.
func (*MediaSessionManagerClient) IsTrustedForMediaControl ¶ added in v0.0.6
func (c *MediaSessionManagerClient) IsTrustedForMediaControl(ctx context.Context, arg0 int64) (bool, error)
IsTrustedForMediaControl calls the IsTrustedForMediaControl RPC.
func (*MediaSessionManagerClient) NotifySession2Created ¶ added in v0.0.6
func (c *MediaSessionManagerClient) NotifySession2Created(ctx context.Context, arg0 int64) error
NotifySession2Created calls the NotifySession2Created RPC.
func (*MediaSessionManagerClient) RemoveOnActiveSessionsChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) RemoveOnActiveSessionsChangedListener(ctx context.Context, arg0 int64) error
RemoveOnActiveSessionsChangedListener calls the RemoveOnActiveSessionsChangedListener RPC.
func (*MediaSessionManagerClient) RemoveOnMediaKeyEventSessionChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) RemoveOnMediaKeyEventSessionChangedListener(ctx context.Context, arg0 int64) error
RemoveOnMediaKeyEventSessionChangedListener calls the RemoveOnMediaKeyEventSessionChangedListener RPC.
func (*MediaSessionManagerClient) RemoveOnSession2TokensChangedListener ¶ added in v0.0.6
func (c *MediaSessionManagerClient) RemoveOnSession2TokensChangedListener(ctx context.Context, arg0 int64) error
RemoveOnSession2TokensChangedListener calls the RemoveOnSession2TokensChangedListener RPC.
type MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient ¶ added in v0.0.6
type MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient struct {
// contains filtered or unexported fields
}
MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient wraps the gRPC MediaSessionManagerOnMediaKeyEventSessionChangedListenerService client.
func NewMediaSessionManagerOnMediaKeyEventSessionChangedListenerClient ¶ added in v0.0.6
func NewMediaSessionManagerOnMediaKeyEventSessionChangedListenerClient(cc grpc.ClientConnInterface) *MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient
NewMediaSessionManagerOnMediaKeyEventSessionChangedListenerClient creates a new MediaSessionManagerOnMediaKeyEventSessionChangedListener client.
func (*MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient) OnMediaKeyEventSessionChanged ¶ added in v0.0.6
func (c *MediaSessionManagerOnMediaKeyEventSessionChangedListenerClient) OnMediaKeyEventSessionChanged(ctx context.Context, arg0 string, arg1 int64) error
OnMediaKeyEventSessionChanged calls the OnMediaKeyEventSessionChanged RPC.
type MediaSessionManagerRemoteUserInfoClient ¶ added in v0.0.6
type MediaSessionManagerRemoteUserInfoClient struct {
// contains filtered or unexported fields
}
MediaSessionManagerRemoteUserInfoClient wraps the gRPC MediaSessionManagerRemoteUserInfoService client.
func NewMediaSessionManagerRemoteUserInfoClient ¶ added in v0.0.6
func NewMediaSessionManagerRemoteUserInfoClient(cc grpc.ClientConnInterface) *MediaSessionManagerRemoteUserInfoClient
NewMediaSessionManagerRemoteUserInfoClient creates a new MediaSessionManagerRemoteUserInfo client.
func (*MediaSessionManagerRemoteUserInfoClient) Equals ¶ added in v0.0.6
func (c *MediaSessionManagerRemoteUserInfoClient) Equals(ctx context.Context, arg0 int64) (bool, error)
Equals calls the Equals RPC.
func (*MediaSessionManagerRemoteUserInfoClient) GetPackageName ¶ added in v0.0.6
func (c *MediaSessionManagerRemoteUserInfoClient) GetPackageName(ctx context.Context) (string, error)
GetPackageName calls the GetPackageName RPC.
func (*MediaSessionManagerRemoteUserInfoClient) GetPid ¶ added in v0.0.6
func (c *MediaSessionManagerRemoteUserInfoClient) GetPid(ctx context.Context) (int32, error)
GetPid calls the GetPid RPC.
type MediaSessionQueueItemClient ¶ added in v0.0.6
type MediaSessionQueueItemClient struct {
// contains filtered or unexported fields
}
MediaSessionQueueItemClient wraps the gRPC MediaSessionQueueItemService client.
func NewMediaSessionQueueItemClient ¶ added in v0.0.6
func NewMediaSessionQueueItemClient(cc grpc.ClientConnInterface) *MediaSessionQueueItemClient
NewMediaSessionQueueItemClient creates a new MediaSessionQueueItem client.
func (*MediaSessionQueueItemClient) DescribeContents ¶ added in v0.0.6
func (c *MediaSessionQueueItemClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*MediaSessionQueueItemClient) GetDescription ¶ added in v0.0.6
func (c *MediaSessionQueueItemClient) GetDescription(ctx context.Context) (int64, error)
GetDescription calls the GetDescription RPC.
func (*MediaSessionQueueItemClient) GetQueueId ¶ added in v0.0.6
func (c *MediaSessionQueueItemClient) GetQueueId(ctx context.Context) (int64, error)
GetQueueId calls the GetQueueId RPC.
func (*MediaSessionQueueItemClient) ToString ¶ added in v0.0.6
func (c *MediaSessionQueueItemClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*MediaSessionQueueItemClient) WriteToParcel ¶ added in v0.0.6
func (c *MediaSessionQueueItemClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type MediaSessionTokenClient ¶ added in v0.0.6
type MediaSessionTokenClient struct {
// contains filtered or unexported fields
}
MediaSessionTokenClient wraps the gRPC MediaSessionTokenService client.
func NewMediaSessionTokenClient ¶ added in v0.0.6
func NewMediaSessionTokenClient(cc grpc.ClientConnInterface) *MediaSessionTokenClient
NewMediaSessionTokenClient creates a new MediaSessionToken client.
func (*MediaSessionTokenClient) DescribeContents ¶ added in v0.0.6
func (c *MediaSessionTokenClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*MediaSessionTokenClient) HashCode ¶ added in v0.0.6
func (c *MediaSessionTokenClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*MediaSessionTokenClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type PlaybackStateBuilderClient ¶ added in v0.0.6
type PlaybackStateBuilderClient struct {
// contains filtered or unexported fields
}
PlaybackStateBuilderClient wraps the gRPC PlaybackStateBuilderService client.
func NewPlaybackStateBuilderClient ¶ added in v0.0.6
func NewPlaybackStateBuilderClient(cc grpc.ClientConnInterface) *PlaybackStateBuilderClient
NewPlaybackStateBuilderClient creates a new PlaybackStateBuilder client.
func (*PlaybackStateBuilderClient) AddCustomAction1 ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) AddCustomAction1(ctx context.Context, arg0 int64) (int64, error)
AddCustomAction1 calls the AddCustomAction1 RPC.
func (*PlaybackStateBuilderClient) AddCustomAction3_1 ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) AddCustomAction3_1(ctx context.Context, arg0 string, arg1 string, arg2 int32) (int64, error)
AddCustomAction3_1 calls the AddCustomAction3_1 RPC.
func (*PlaybackStateBuilderClient) Build ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*PlaybackStateBuilderClient) SetActions ¶ added in v0.0.6
SetActions calls the SetActions RPC.
func (*PlaybackStateBuilderClient) SetActiveQueueItemId ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) SetActiveQueueItemId(ctx context.Context, arg0 int64) (int64, error)
SetActiveQueueItemId calls the SetActiveQueueItemId RPC.
func (*PlaybackStateBuilderClient) SetBufferedPosition ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) SetBufferedPosition(ctx context.Context, arg0 int64) (int64, error)
SetBufferedPosition calls the SetBufferedPosition RPC.
func (*PlaybackStateBuilderClient) SetErrorMessage ¶ added in v0.0.6
func (c *PlaybackStateBuilderClient) SetErrorMessage(ctx context.Context, arg0 string) (int64, error)
SetErrorMessage calls the SetErrorMessage RPC.
type PlaybackStateClient ¶ added in v0.0.6
type PlaybackStateClient struct {
// contains filtered or unexported fields
}
PlaybackStateClient wraps the gRPC PlaybackStateService client.
func NewPlaybackStateClient ¶ added in v0.0.6
func NewPlaybackStateClient(cc grpc.ClientConnInterface) *PlaybackStateClient
NewPlaybackStateClient creates a new PlaybackState client.
func (*PlaybackStateClient) DescribeContents ¶ added in v0.0.6
func (c *PlaybackStateClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*PlaybackStateClient) GetActions ¶ added in v0.0.6
func (c *PlaybackStateClient) GetActions(ctx context.Context) (int64, error)
GetActions calls the GetActions RPC.
func (*PlaybackStateClient) GetActiveQueueItemId ¶ added in v0.0.6
func (c *PlaybackStateClient) GetActiveQueueItemId(ctx context.Context) (int64, error)
GetActiveQueueItemId calls the GetActiveQueueItemId RPC.
func (*PlaybackStateClient) GetBufferedPosition ¶ added in v0.0.6
func (c *PlaybackStateClient) GetBufferedPosition(ctx context.Context) (int64, error)
GetBufferedPosition calls the GetBufferedPosition RPC.
func (*PlaybackStateClient) GetCustomActions ¶ added in v0.0.6
func (c *PlaybackStateClient) GetCustomActions(ctx context.Context) (int64, error)
GetCustomActions calls the GetCustomActions RPC.
func (*PlaybackStateClient) GetErrorMessage ¶ added in v0.0.6
func (c *PlaybackStateClient) GetErrorMessage(ctx context.Context) (int64, error)
GetErrorMessage calls the GetErrorMessage RPC.
func (*PlaybackStateClient) GetExtras ¶ added in v0.0.6
func (c *PlaybackStateClient) GetExtras(ctx context.Context) (int64, error)
GetExtras calls the GetExtras RPC.
func (*PlaybackStateClient) GetLastPositionUpdateTime ¶ added in v0.0.6
func (c *PlaybackStateClient) GetLastPositionUpdateTime(ctx context.Context) (int64, error)
GetLastPositionUpdateTime calls the GetLastPositionUpdateTime RPC.
func (*PlaybackStateClient) GetPlaybackSpeed ¶ added in v0.0.6
func (c *PlaybackStateClient) GetPlaybackSpeed(ctx context.Context) (float32, error)
GetPlaybackSpeed calls the GetPlaybackSpeed RPC.
func (*PlaybackStateClient) GetPosition ¶ added in v0.0.6
func (c *PlaybackStateClient) GetPosition(ctx context.Context) (int64, error)
GetPosition calls the GetPosition RPC.
func (*PlaybackStateClient) GetState ¶ added in v0.0.6
func (c *PlaybackStateClient) GetState(ctx context.Context) (int32, error)
GetState calls the GetState RPC.
func (*PlaybackStateClient) IsActive ¶ added in v0.0.6
func (c *PlaybackStateClient) IsActive(ctx context.Context) (bool, error)
IsActive calls the IsActive RPC.
func (*PlaybackStateClient) ToString ¶ added in v0.0.6
func (c *PlaybackStateClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*PlaybackStateClient) WriteToParcel ¶ added in v0.0.6
WriteToParcel calls the WriteToParcel RPC.
type PlaybackStateCustomActionClient ¶ added in v0.0.6
type PlaybackStateCustomActionClient struct {
// contains filtered or unexported fields
}
PlaybackStateCustomActionClient wraps the gRPC PlaybackStateCustomActionService client.
func NewPlaybackStateCustomActionClient ¶ added in v0.0.6
func NewPlaybackStateCustomActionClient(cc grpc.ClientConnInterface) *PlaybackStateCustomActionClient
NewPlaybackStateCustomActionClient creates a new PlaybackStateCustomAction client.
func (*PlaybackStateCustomActionClient) DescribeContents ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*PlaybackStateCustomActionClient) GetAction ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) GetAction(ctx context.Context) (string, error)
GetAction calls the GetAction RPC.
func (*PlaybackStateCustomActionClient) GetExtras ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) GetExtras(ctx context.Context) (int64, error)
GetExtras calls the GetExtras RPC.
func (*PlaybackStateCustomActionClient) GetIcon ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) GetIcon(ctx context.Context) (int32, error)
GetIcon calls the GetIcon RPC.
func (*PlaybackStateCustomActionClient) GetName ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) GetName(ctx context.Context) (int64, error)
GetName calls the GetName RPC.
func (*PlaybackStateCustomActionClient) ToString ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*PlaybackStateCustomActionClient) WriteToParcel ¶ added in v0.0.6
func (c *PlaybackStateCustomActionClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.