Documentation
¶
Index ¶
- type AudioDeviceInfoClient
- func (c *AudioDeviceInfoClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *AudioDeviceInfoClient) GetAddress(ctx context.Context) (string, error)
- func (c *AudioDeviceInfoClient) GetAudioDescriptors(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetAudioProfiles(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetChannelCounts(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetChannelIndexMasks(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetChannelMasks(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetEncapsulationMetadataTypes(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetEncapsulationModes(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetEncodings(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetId(ctx context.Context) (int32, error)
- func (c *AudioDeviceInfoClient) GetProductName(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetSampleRates(ctx context.Context) (int64, error)
- func (c *AudioDeviceInfoClient) GetSpeakerLayoutChannelMask(ctx context.Context) (int32, error)
- func (c *AudioDeviceInfoClient) GetType(ctx context.Context) (int32, error)
- func (c *AudioDeviceInfoClient) HashCode(ctx context.Context) (int32, error)
- func (c *AudioDeviceInfoClient) IsSink(ctx context.Context) (bool, error)
- func (c *AudioDeviceInfoClient) IsSource(ctx context.Context) (bool, error)
- type AudioManagerClient
- func (c *AudioManagerClient) AbandonAudioFocus(ctx context.Context, arg0 int64) (int32, error)
- func (c *AudioManagerClient) AbandonAudioFocusRequestOp(ctx context.Context, arg0 int64) (int32, error)
- func (c *AudioManagerClient) AddOnCommunicationDeviceChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *AudioManagerClient) AddOnModeChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *AudioManagerClient) AddOnPreferredMixerAttributesChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *AudioManagerClient) AdjustStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *AudioManagerClient) AdjustSuggestedStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *AudioManagerClient) AdjustVolume(ctx context.Context, arg0 int32, arg1 int32) error
- func (c *AudioManagerClient) AdjustVolumeGroupVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *AudioManagerClient) ClearCommunicationDevice(ctx context.Context) error
- func (c *AudioManagerClient) ClearPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *AudioManagerClient) DispatchMediaKeyEvent(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) GenerateAudioSessionId(ctx context.Context) (int32, error)
- func (c *AudioManagerClient) GetActivePlaybackConfigurations(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetActiveRecordingConfigurations(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetAllowedCapturePolicy(ctx context.Context) (int32, error)
- func (c *AudioManagerClient) GetAudioDevicesForAttributes(ctx context.Context, arg0 int64) (int64, error)
- func (c *AudioManagerClient) GetAudioHwSyncForSession(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetAvailableCommunicationDevices(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetCommunicationDevice(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetDevices(ctx context.Context, arg0 int32) (int64, error)
- func (c *AudioManagerClient) GetDirectPlaybackSupport(ctx context.Context, arg0 int64, arg1 int64) (int32, error)
- func (c *AudioManagerClient) GetDirectProfilesForAttributes(ctx context.Context, arg0 int64) (int64, error)
- func (c *AudioManagerClient) GetEncodedSurroundMode(ctx context.Context) (int32, error)
- func (c *AudioManagerClient) GetMicrophones(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetMode(ctx context.Context) (int32, error)
- func (c *AudioManagerClient) GetParameters(ctx context.Context, arg0 string) (string, error)
- func (c *AudioManagerClient) GetPlaybackOffloadSupport(ctx context.Context, arg0 int64, arg1 int64) (int32, error)
- func (c *AudioManagerClient) GetPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
- func (c *AudioManagerClient) GetProperty(ctx context.Context, arg0 string) (string, error)
- func (c *AudioManagerClient) GetRingerMode(ctx context.Context) (int32, error)
- func (c *AudioManagerClient) GetRouting(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetSpatializer(ctx context.Context) (int64, error)
- func (c *AudioManagerClient) GetStreamMaxVolume(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetStreamMinVolume(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetStreamVolume(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetStreamVolumeDb(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) (float32, error)
- func (c *AudioManagerClient) GetSupportedDeviceTypes(ctx context.Context, arg0 int32) (int64, error)
- func (c *AudioManagerClient) GetSupportedMixerAttributes(ctx context.Context, arg0 int64) (int64, error)
- func (c *AudioManagerClient) GetVibrateSetting(ctx context.Context, arg0 int32) (int32, error)
- func (c *AudioManagerClient) GetVolumeGroupIdForAttributes(ctx context.Context, arg0 int64) (int32, error)
- func (c *AudioManagerClient) IsBluetoothA2DpOn(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsBluetoothScoAvailableOffCall(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsBluetoothScoOn(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsCallScreeningModeSupported(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsHapticPlaybackSupported(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsMicrophoneMute(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsMusicActive(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsOffloadedPlaybackSupported(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
- func (c *AudioManagerClient) IsRampingRingerEnabled(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsSpeakerphoneOn(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsStreamMute(ctx context.Context, arg0 int32) (bool, error)
- func (c *AudioManagerClient) IsSurroundFormatEnabled(ctx context.Context, arg0 int32) (bool, error)
- func (c *AudioManagerClient) IsVolumeFixed(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) IsVolumeGroupMuted(ctx context.Context, arg0 int32) (bool, error)
- func (c *AudioManagerClient) IsWiredHeadsetOn(ctx context.Context) (bool, error)
- func (c *AudioManagerClient) LoadSoundEffects(ctx context.Context) error
- func (c *AudioManagerClient) PlaySoundEffect1(ctx context.Context, arg0 int32) error
- func (c *AudioManagerClient) PlaySoundEffect2_1(ctx context.Context, arg0 int32, arg1 float32) error
- func (c *AudioManagerClient) RegisterMediaButtonEventReceiver1(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RegisterMediaButtonEventReceiver1_1(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RegisterRemoteControlClient(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RegisterRemoteController(ctx context.Context, arg0 int64) (bool, error)
- func (c *AudioManagerClient) RemoveOnCommunicationDeviceChangedListener(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RemoveOnModeChangedListener(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RemoveOnPreferredMixerAttributesChangedListener(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) RequestAudioFocus1(ctx context.Context, arg0 int64) (int32, error)
- func (c *AudioManagerClient) RequestAudioFocus3_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) (int32, error)
- func (c *AudioManagerClient) SetAllowedCapturePolicy(ctx context.Context, arg0 int32) error
- func (c *AudioManagerClient) SetBluetoothA2DpOn(ctx context.Context, arg0 bool) error
- func (c *AudioManagerClient) SetBluetoothScoOn(ctx context.Context, arg0 bool) error
- func (c *AudioManagerClient) SetCommunicationDevice(ctx context.Context, arg0 int64) (bool, error)
- func (c *AudioManagerClient) SetEncodedSurroundMode(ctx context.Context, arg0 int32) (bool, error)
- func (c *AudioManagerClient) SetMicrophoneMute(ctx context.Context, arg0 bool) error
- func (c *AudioManagerClient) SetMode(ctx context.Context, arg0 int32) error
- func (c *AudioManagerClient) SetParameters(ctx context.Context, arg0 string) error
- func (c *AudioManagerClient) SetPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) (bool, error)
- func (c *AudioManagerClient) SetRingerMode(ctx context.Context, arg0 int32) error
- func (c *AudioManagerClient) SetRouting(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *AudioManagerClient) SetSpeakerphoneOn(ctx context.Context, arg0 bool) error
- func (c *AudioManagerClient) SetStreamMute(ctx context.Context, arg0 int32, arg1 bool) error
- func (c *AudioManagerClient) SetStreamSolo(ctx context.Context, arg0 int32, arg1 bool) error
- func (c *AudioManagerClient) SetStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *AudioManagerClient) SetSurroundFormatEnabled(ctx context.Context, arg0 int32, arg1 bool) (bool, error)
- func (c *AudioManagerClient) SetVibrateSetting(ctx context.Context, arg0 int32, arg1 int32) error
- func (c *AudioManagerClient) SetWiredHeadsetOn(ctx context.Context, arg0 bool) error
- func (c *AudioManagerClient) ShouldVibrate(ctx context.Context, arg0 int32) (bool, error)
- func (c *AudioManagerClient) StartBluetoothSco(ctx context.Context) error
- func (c *AudioManagerClient) StopBluetoothSco(ctx context.Context) error
- func (c *AudioManagerClient) UnloadSoundEffects(ctx context.Context) error
- func (c *AudioManagerClient) UnregisterAudioDeviceCallback(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterAudioPlaybackCallback(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterAudioRecordingCallback(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterMediaButtonEventReceiver1(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterMediaButtonEventReceiver1_1(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterRemoteControlClient(ctx context.Context, arg0 int64) error
- func (c *AudioManagerClient) UnregisterRemoteController(ctx context.Context, arg0 int64) error
- type AudioManagerOnAudioFocusChangeListenerClient
- type AudioManagerOnCommunicationDeviceChangedListenerClient
- type AudioManagerOnModeChangedListenerClient
- type AudioManagerOnPreferredMixerAttributesChangedListenerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioDeviceInfoClient ¶ added in v0.0.6
type AudioDeviceInfoClient struct {
// contains filtered or unexported fields
}
AudioDeviceInfoClient wraps the gRPC AudioDeviceInfoService client.
func NewAudioDeviceInfoClient ¶ added in v0.0.6
func NewAudioDeviceInfoClient(cc grpc.ClientConnInterface) *AudioDeviceInfoClient
NewAudioDeviceInfoClient creates a new AudioDeviceInfo client.
func (*AudioDeviceInfoClient) GetAddress ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetAddress(ctx context.Context) (string, error)
GetAddress calls the GetAddress RPC.
func (*AudioDeviceInfoClient) GetAudioDescriptors ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetAudioDescriptors(ctx context.Context) (int64, error)
GetAudioDescriptors calls the GetAudioDescriptors RPC.
func (*AudioDeviceInfoClient) GetAudioProfiles ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetAudioProfiles(ctx context.Context) (int64, error)
GetAudioProfiles calls the GetAudioProfiles RPC.
func (*AudioDeviceInfoClient) GetChannelCounts ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetChannelCounts(ctx context.Context) (int64, error)
GetChannelCounts calls the GetChannelCounts RPC.
func (*AudioDeviceInfoClient) GetChannelIndexMasks ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetChannelIndexMasks(ctx context.Context) (int64, error)
GetChannelIndexMasks calls the GetChannelIndexMasks RPC.
func (*AudioDeviceInfoClient) GetChannelMasks ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetChannelMasks(ctx context.Context) (int64, error)
GetChannelMasks calls the GetChannelMasks RPC.
func (*AudioDeviceInfoClient) GetEncapsulationMetadataTypes ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetEncapsulationMetadataTypes(ctx context.Context) (int64, error)
GetEncapsulationMetadataTypes calls the GetEncapsulationMetadataTypes RPC.
func (*AudioDeviceInfoClient) GetEncapsulationModes ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetEncapsulationModes(ctx context.Context) (int64, error)
GetEncapsulationModes calls the GetEncapsulationModes RPC.
func (*AudioDeviceInfoClient) GetEncodings ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetEncodings(ctx context.Context) (int64, error)
GetEncodings calls the GetEncodings RPC.
func (*AudioDeviceInfoClient) GetId ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetId(ctx context.Context) (int32, error)
GetId calls the GetId RPC.
func (*AudioDeviceInfoClient) GetProductName ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetProductName(ctx context.Context) (int64, error)
GetProductName calls the GetProductName RPC.
func (*AudioDeviceInfoClient) GetSampleRates ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetSampleRates(ctx context.Context) (int64, error)
GetSampleRates calls the GetSampleRates RPC.
func (*AudioDeviceInfoClient) GetSpeakerLayoutChannelMask ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetSpeakerLayoutChannelMask(ctx context.Context) (int32, error)
GetSpeakerLayoutChannelMask calls the GetSpeakerLayoutChannelMask RPC.
func (*AudioDeviceInfoClient) GetType ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) GetType(ctx context.Context) (int32, error)
GetType calls the GetType RPC.
func (*AudioDeviceInfoClient) HashCode ¶ added in v0.0.6
func (c *AudioDeviceInfoClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
type AudioManagerClient ¶ added in v0.0.6
type AudioManagerClient struct {
// contains filtered or unexported fields
}
AudioManagerClient wraps the gRPC AudioManagerService client.
func NewAudioManagerClient ¶ added in v0.0.6
func NewAudioManagerClient(cc grpc.ClientConnInterface) *AudioManagerClient
NewAudioManagerClient creates a new AudioManager client.
func (*AudioManagerClient) AbandonAudioFocus ¶ added in v0.0.6
AbandonAudioFocus calls the AbandonAudioFocus RPC.
func (*AudioManagerClient) AbandonAudioFocusRequestOp ¶ added in v0.0.6
func (c *AudioManagerClient) AbandonAudioFocusRequestOp(ctx context.Context, arg0 int64) (int32, error)
AbandonAudioFocusRequestOp calls the AbandonAudioFocusRequestOp RPC.
func (*AudioManagerClient) AddOnCommunicationDeviceChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) AddOnCommunicationDeviceChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
AddOnCommunicationDeviceChangedListener calls the AddOnCommunicationDeviceChangedListener RPC.
func (*AudioManagerClient) AddOnModeChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) AddOnModeChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
AddOnModeChangedListener calls the AddOnModeChangedListener RPC.
func (*AudioManagerClient) AddOnPreferredMixerAttributesChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) AddOnPreferredMixerAttributesChangedListener(ctx context.Context, arg0 int64, arg1 int64) error
AddOnPreferredMixerAttributesChangedListener calls the AddOnPreferredMixerAttributesChangedListener RPC.
func (*AudioManagerClient) AdjustStreamVolume ¶ added in v0.0.6
func (c *AudioManagerClient) AdjustStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
AdjustStreamVolume calls the AdjustStreamVolume RPC.
func (*AudioManagerClient) AdjustSuggestedStreamVolume ¶ added in v0.0.6
func (c *AudioManagerClient) AdjustSuggestedStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
AdjustSuggestedStreamVolume calls the AdjustSuggestedStreamVolume RPC.
func (*AudioManagerClient) AdjustVolume ¶ added in v0.0.6
AdjustVolume calls the AdjustVolume RPC.
func (*AudioManagerClient) AdjustVolumeGroupVolume ¶ added in v0.0.6
func (c *AudioManagerClient) AdjustVolumeGroupVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
AdjustVolumeGroupVolume calls the AdjustVolumeGroupVolume RPC.
func (*AudioManagerClient) ClearCommunicationDevice ¶ added in v0.0.6
func (c *AudioManagerClient) ClearCommunicationDevice(ctx context.Context) error
ClearCommunicationDevice calls the ClearCommunicationDevice RPC.
func (*AudioManagerClient) ClearPreferredMixerAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) ClearPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
ClearPreferredMixerAttributes calls the ClearPreferredMixerAttributes RPC.
func (*AudioManagerClient) DispatchMediaKeyEvent ¶ added in v0.0.6
func (c *AudioManagerClient) DispatchMediaKeyEvent(ctx context.Context, arg0 int64) error
DispatchMediaKeyEvent calls the DispatchMediaKeyEvent RPC.
func (*AudioManagerClient) GenerateAudioSessionId ¶ added in v0.0.6
func (c *AudioManagerClient) GenerateAudioSessionId(ctx context.Context) (int32, error)
GenerateAudioSessionId calls the GenerateAudioSessionId RPC.
func (*AudioManagerClient) GetActivePlaybackConfigurations ¶ added in v0.0.6
func (c *AudioManagerClient) GetActivePlaybackConfigurations(ctx context.Context) (int64, error)
GetActivePlaybackConfigurations calls the GetActivePlaybackConfigurations RPC.
func (*AudioManagerClient) GetActiveRecordingConfigurations ¶ added in v0.0.6
func (c *AudioManagerClient) GetActiveRecordingConfigurations(ctx context.Context) (int64, error)
GetActiveRecordingConfigurations calls the GetActiveRecordingConfigurations RPC.
func (*AudioManagerClient) GetAllowedCapturePolicy ¶ added in v0.0.6
func (c *AudioManagerClient) GetAllowedCapturePolicy(ctx context.Context) (int32, error)
GetAllowedCapturePolicy calls the GetAllowedCapturePolicy RPC.
func (*AudioManagerClient) GetAudioDevicesForAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) GetAudioDevicesForAttributes(ctx context.Context, arg0 int64) (int64, error)
GetAudioDevicesForAttributes calls the GetAudioDevicesForAttributes RPC.
func (*AudioManagerClient) GetAudioHwSyncForSession ¶ added in v0.0.6
func (c *AudioManagerClient) GetAudioHwSyncForSession(ctx context.Context, arg0 int32) (int32, error)
GetAudioHwSyncForSession calls the GetAudioHwSyncForSession RPC.
func (*AudioManagerClient) GetAvailableCommunicationDevices ¶ added in v0.0.6
func (c *AudioManagerClient) GetAvailableCommunicationDevices(ctx context.Context) (int64, error)
GetAvailableCommunicationDevices calls the GetAvailableCommunicationDevices RPC.
func (*AudioManagerClient) GetCommunicationDevice ¶ added in v0.0.6
func (c *AudioManagerClient) GetCommunicationDevice(ctx context.Context) (int64, error)
GetCommunicationDevice calls the GetCommunicationDevice RPC.
func (*AudioManagerClient) GetDevices ¶ added in v0.0.6
GetDevices calls the GetDevices RPC.
func (*AudioManagerClient) GetDirectPlaybackSupport ¶ added in v0.0.6
func (c *AudioManagerClient) GetDirectPlaybackSupport(ctx context.Context, arg0 int64, arg1 int64) (int32, error)
GetDirectPlaybackSupport calls the GetDirectPlaybackSupport RPC.
func (*AudioManagerClient) GetDirectProfilesForAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) GetDirectProfilesForAttributes(ctx context.Context, arg0 int64) (int64, error)
GetDirectProfilesForAttributes calls the GetDirectProfilesForAttributes RPC.
func (*AudioManagerClient) GetEncodedSurroundMode ¶ added in v0.0.6
func (c *AudioManagerClient) GetEncodedSurroundMode(ctx context.Context) (int32, error)
GetEncodedSurroundMode calls the GetEncodedSurroundMode RPC.
func (*AudioManagerClient) GetMicrophones ¶ added in v0.0.6
func (c *AudioManagerClient) GetMicrophones(ctx context.Context) (int64, error)
GetMicrophones calls the GetMicrophones RPC.
func (*AudioManagerClient) GetMode ¶ added in v0.0.6
func (c *AudioManagerClient) GetMode(ctx context.Context) (int32, error)
GetMode calls the GetMode RPC.
func (*AudioManagerClient) GetParameters ¶ added in v0.0.6
GetParameters calls the GetParameters RPC.
func (*AudioManagerClient) GetPlaybackOffloadSupport ¶ added in v0.0.6
func (c *AudioManagerClient) GetPlaybackOffloadSupport(ctx context.Context, arg0 int64, arg1 int64) (int32, error)
GetPlaybackOffloadSupport calls the GetPlaybackOffloadSupport RPC.
func (*AudioManagerClient) GetPreferredMixerAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) GetPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64) (int64, error)
GetPreferredMixerAttributes calls the GetPreferredMixerAttributes RPC.
func (*AudioManagerClient) GetProperty ¶ added in v0.0.6
GetProperty calls the GetProperty RPC.
func (*AudioManagerClient) GetRingerMode ¶ added in v0.0.6
func (c *AudioManagerClient) GetRingerMode(ctx context.Context) (int32, error)
GetRingerMode calls the GetRingerMode RPC.
func (*AudioManagerClient) GetRouting ¶ added in v0.0.6
GetRouting calls the GetRouting RPC.
func (*AudioManagerClient) GetSpatializer ¶ added in v0.0.6
func (c *AudioManagerClient) GetSpatializer(ctx context.Context) (int64, error)
GetSpatializer calls the GetSpatializer RPC.
func (*AudioManagerClient) GetStreamMaxVolume ¶ added in v0.0.6
GetStreamMaxVolume calls the GetStreamMaxVolume RPC.
func (*AudioManagerClient) GetStreamMinVolume ¶ added in v0.0.6
GetStreamMinVolume calls the GetStreamMinVolume RPC.
func (*AudioManagerClient) GetStreamVolume ¶ added in v0.0.6
GetStreamVolume calls the GetStreamVolume RPC.
func (*AudioManagerClient) GetStreamVolumeDb ¶ added in v0.0.6
func (c *AudioManagerClient) GetStreamVolumeDb(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) (float32, error)
GetStreamVolumeDb calls the GetStreamVolumeDb RPC.
func (*AudioManagerClient) GetSupportedDeviceTypes ¶ added in v0.0.6
func (c *AudioManagerClient) GetSupportedDeviceTypes(ctx context.Context, arg0 int32) (int64, error)
GetSupportedDeviceTypes calls the GetSupportedDeviceTypes RPC.
func (*AudioManagerClient) GetSupportedMixerAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) GetSupportedMixerAttributes(ctx context.Context, arg0 int64) (int64, error)
GetSupportedMixerAttributes calls the GetSupportedMixerAttributes RPC.
func (*AudioManagerClient) GetVibrateSetting ¶ added in v0.0.6
GetVibrateSetting calls the GetVibrateSetting RPC.
func (*AudioManagerClient) GetVolumeGroupIdForAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) GetVolumeGroupIdForAttributes(ctx context.Context, arg0 int64) (int32, error)
GetVolumeGroupIdForAttributes calls the GetVolumeGroupIdForAttributes RPC.
func (*AudioManagerClient) IsBluetoothA2DpOn ¶ added in v0.0.6
func (c *AudioManagerClient) IsBluetoothA2DpOn(ctx context.Context) (bool, error)
IsBluetoothA2DpOn calls the IsBluetoothA2DpOn RPC.
func (*AudioManagerClient) IsBluetoothScoAvailableOffCall ¶ added in v0.0.6
func (c *AudioManagerClient) IsBluetoothScoAvailableOffCall(ctx context.Context) (bool, error)
IsBluetoothScoAvailableOffCall calls the IsBluetoothScoAvailableOffCall RPC.
func (*AudioManagerClient) IsBluetoothScoOn ¶ added in v0.0.6
func (c *AudioManagerClient) IsBluetoothScoOn(ctx context.Context) (bool, error)
IsBluetoothScoOn calls the IsBluetoothScoOn RPC.
func (*AudioManagerClient) IsCallScreeningModeSupported ¶ added in v0.0.6
func (c *AudioManagerClient) IsCallScreeningModeSupported(ctx context.Context) (bool, error)
IsCallScreeningModeSupported calls the IsCallScreeningModeSupported RPC.
func (*AudioManagerClient) IsHapticPlaybackSupported ¶ added in v0.0.6
func (c *AudioManagerClient) IsHapticPlaybackSupported(ctx context.Context) (bool, error)
IsHapticPlaybackSupported calls the IsHapticPlaybackSupported RPC.
func (*AudioManagerClient) IsMicrophoneMute ¶ added in v0.0.6
func (c *AudioManagerClient) IsMicrophoneMute(ctx context.Context) (bool, error)
IsMicrophoneMute calls the IsMicrophoneMute RPC.
func (*AudioManagerClient) IsMusicActive ¶ added in v0.0.6
func (c *AudioManagerClient) IsMusicActive(ctx context.Context) (bool, error)
IsMusicActive calls the IsMusicActive RPC.
func (*AudioManagerClient) IsOffloadedPlaybackSupported ¶ added in v0.0.6
func (c *AudioManagerClient) IsOffloadedPlaybackSupported(ctx context.Context, arg0 int64, arg1 int64) (bool, error)
IsOffloadedPlaybackSupported calls the IsOffloadedPlaybackSupported RPC.
func (*AudioManagerClient) IsRampingRingerEnabled ¶ added in v0.0.6
func (c *AudioManagerClient) IsRampingRingerEnabled(ctx context.Context) (bool, error)
IsRampingRingerEnabled calls the IsRampingRingerEnabled RPC.
func (*AudioManagerClient) IsSpeakerphoneOn ¶ added in v0.0.6
func (c *AudioManagerClient) IsSpeakerphoneOn(ctx context.Context) (bool, error)
IsSpeakerphoneOn calls the IsSpeakerphoneOn RPC.
func (*AudioManagerClient) IsStreamMute ¶ added in v0.0.6
IsStreamMute calls the IsStreamMute RPC.
func (*AudioManagerClient) IsSurroundFormatEnabled ¶ added in v0.0.6
IsSurroundFormatEnabled calls the IsSurroundFormatEnabled RPC.
func (*AudioManagerClient) IsVolumeFixed ¶ added in v0.0.6
func (c *AudioManagerClient) IsVolumeFixed(ctx context.Context) (bool, error)
IsVolumeFixed calls the IsVolumeFixed RPC.
func (*AudioManagerClient) IsVolumeGroupMuted ¶ added in v0.0.6
IsVolumeGroupMuted calls the IsVolumeGroupMuted RPC.
func (*AudioManagerClient) IsWiredHeadsetOn ¶ added in v0.0.6
func (c *AudioManagerClient) IsWiredHeadsetOn(ctx context.Context) (bool, error)
IsWiredHeadsetOn calls the IsWiredHeadsetOn RPC.
func (*AudioManagerClient) LoadSoundEffects ¶ added in v0.0.6
func (c *AudioManagerClient) LoadSoundEffects(ctx context.Context) error
LoadSoundEffects calls the LoadSoundEffects RPC.
func (*AudioManagerClient) PlaySoundEffect1 ¶ added in v0.0.6
func (c *AudioManagerClient) PlaySoundEffect1(ctx context.Context, arg0 int32) error
PlaySoundEffect1 calls the PlaySoundEffect1 RPC.
func (*AudioManagerClient) PlaySoundEffect2_1 ¶ added in v0.0.6
func (c *AudioManagerClient) PlaySoundEffect2_1(ctx context.Context, arg0 int32, arg1 float32) error
PlaySoundEffect2_1 calls the PlaySoundEffect2_1 RPC.
func (*AudioManagerClient) RegisterMediaButtonEventReceiver1 ¶ added in v0.0.6
func (c *AudioManagerClient) RegisterMediaButtonEventReceiver1(ctx context.Context, arg0 int64) error
RegisterMediaButtonEventReceiver1 calls the RegisterMediaButtonEventReceiver1 RPC.
func (*AudioManagerClient) RegisterMediaButtonEventReceiver1_1 ¶ added in v0.0.6
func (c *AudioManagerClient) RegisterMediaButtonEventReceiver1_1(ctx context.Context, arg0 int64) error
RegisterMediaButtonEventReceiver1_1 calls the RegisterMediaButtonEventReceiver1_1 RPC.
func (*AudioManagerClient) RegisterRemoteControlClient ¶ added in v0.0.6
func (c *AudioManagerClient) RegisterRemoteControlClient(ctx context.Context, arg0 int64) error
RegisterRemoteControlClient calls the RegisterRemoteControlClient RPC.
func (*AudioManagerClient) RegisterRemoteController ¶ added in v0.0.6
func (c *AudioManagerClient) RegisterRemoteController(ctx context.Context, arg0 int64) (bool, error)
RegisterRemoteController calls the RegisterRemoteController RPC.
func (*AudioManagerClient) RemoveOnCommunicationDeviceChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) RemoveOnCommunicationDeviceChangedListener(ctx context.Context, arg0 int64) error
RemoveOnCommunicationDeviceChangedListener calls the RemoveOnCommunicationDeviceChangedListener RPC.
func (*AudioManagerClient) RemoveOnModeChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) RemoveOnModeChangedListener(ctx context.Context, arg0 int64) error
RemoveOnModeChangedListener calls the RemoveOnModeChangedListener RPC.
func (*AudioManagerClient) RemoveOnPreferredMixerAttributesChangedListener ¶ added in v0.0.6
func (c *AudioManagerClient) RemoveOnPreferredMixerAttributesChangedListener(ctx context.Context, arg0 int64) error
RemoveOnPreferredMixerAttributesChangedListener calls the RemoveOnPreferredMixerAttributesChangedListener RPC.
func (*AudioManagerClient) RequestAudioFocus1 ¶ added in v0.0.6
RequestAudioFocus1 calls the RequestAudioFocus1 RPC.
func (*AudioManagerClient) RequestAudioFocus3_1 ¶ added in v0.0.6
func (c *AudioManagerClient) RequestAudioFocus3_1(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) (int32, error)
RequestAudioFocus3_1 calls the RequestAudioFocus3_1 RPC.
func (*AudioManagerClient) SetAllowedCapturePolicy ¶ added in v0.0.6
func (c *AudioManagerClient) SetAllowedCapturePolicy(ctx context.Context, arg0 int32) error
SetAllowedCapturePolicy calls the SetAllowedCapturePolicy RPC.
func (*AudioManagerClient) SetBluetoothA2DpOn ¶ added in v0.0.6
func (c *AudioManagerClient) SetBluetoothA2DpOn(ctx context.Context, arg0 bool) error
SetBluetoothA2DpOn calls the SetBluetoothA2DpOn RPC.
func (*AudioManagerClient) SetBluetoothScoOn ¶ added in v0.0.6
func (c *AudioManagerClient) SetBluetoothScoOn(ctx context.Context, arg0 bool) error
SetBluetoothScoOn calls the SetBluetoothScoOn RPC.
func (*AudioManagerClient) SetCommunicationDevice ¶ added in v0.0.6
SetCommunicationDevice calls the SetCommunicationDevice RPC.
func (*AudioManagerClient) SetEncodedSurroundMode ¶ added in v0.0.6
SetEncodedSurroundMode calls the SetEncodedSurroundMode RPC.
func (*AudioManagerClient) SetMicrophoneMute ¶ added in v0.0.6
func (c *AudioManagerClient) SetMicrophoneMute(ctx context.Context, arg0 bool) error
SetMicrophoneMute calls the SetMicrophoneMute RPC.
func (*AudioManagerClient) SetMode ¶ added in v0.0.6
func (c *AudioManagerClient) SetMode(ctx context.Context, arg0 int32) error
SetMode calls the SetMode RPC.
func (*AudioManagerClient) SetParameters ¶ added in v0.0.6
func (c *AudioManagerClient) SetParameters(ctx context.Context, arg0 string) error
SetParameters calls the SetParameters RPC.
func (*AudioManagerClient) SetPreferredMixerAttributes ¶ added in v0.0.6
func (c *AudioManagerClient) SetPreferredMixerAttributes(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) (bool, error)
SetPreferredMixerAttributes calls the SetPreferredMixerAttributes RPC.
func (*AudioManagerClient) SetRingerMode ¶ added in v0.0.6
func (c *AudioManagerClient) SetRingerMode(ctx context.Context, arg0 int32) error
SetRingerMode calls the SetRingerMode RPC.
func (*AudioManagerClient) SetRouting ¶ added in v0.0.6
func (c *AudioManagerClient) SetRouting(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
SetRouting calls the SetRouting RPC.
func (*AudioManagerClient) SetSpeakerphoneOn ¶ added in v0.0.6
func (c *AudioManagerClient) SetSpeakerphoneOn(ctx context.Context, arg0 bool) error
SetSpeakerphoneOn calls the SetSpeakerphoneOn RPC.
func (*AudioManagerClient) SetStreamMute ¶ added in v0.0.6
SetStreamMute calls the SetStreamMute RPC.
func (*AudioManagerClient) SetStreamSolo ¶ added in v0.0.6
SetStreamSolo calls the SetStreamSolo RPC.
func (*AudioManagerClient) SetStreamVolume ¶ added in v0.0.6
func (c *AudioManagerClient) SetStreamVolume(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
SetStreamVolume calls the SetStreamVolume RPC.
func (*AudioManagerClient) SetSurroundFormatEnabled ¶ added in v0.0.6
func (c *AudioManagerClient) SetSurroundFormatEnabled(ctx context.Context, arg0 int32, arg1 bool) (bool, error)
SetSurroundFormatEnabled calls the SetSurroundFormatEnabled RPC.
func (*AudioManagerClient) SetVibrateSetting ¶ added in v0.0.6
SetVibrateSetting calls the SetVibrateSetting RPC.
func (*AudioManagerClient) SetWiredHeadsetOn ¶ added in v0.0.6
func (c *AudioManagerClient) SetWiredHeadsetOn(ctx context.Context, arg0 bool) error
SetWiredHeadsetOn calls the SetWiredHeadsetOn RPC.
func (*AudioManagerClient) ShouldVibrate ¶ added in v0.0.6
ShouldVibrate calls the ShouldVibrate RPC.
func (*AudioManagerClient) StartBluetoothSco ¶ added in v0.0.6
func (c *AudioManagerClient) StartBluetoothSco(ctx context.Context) error
StartBluetoothSco calls the StartBluetoothSco RPC.
func (*AudioManagerClient) StopBluetoothSco ¶ added in v0.0.6
func (c *AudioManagerClient) StopBluetoothSco(ctx context.Context) error
StopBluetoothSco calls the StopBluetoothSco RPC.
func (*AudioManagerClient) UnloadSoundEffects ¶ added in v0.0.6
func (c *AudioManagerClient) UnloadSoundEffects(ctx context.Context) error
UnloadSoundEffects calls the UnloadSoundEffects RPC.
func (*AudioManagerClient) UnregisterAudioDeviceCallback ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterAudioDeviceCallback(ctx context.Context, arg0 int64) error
UnregisterAudioDeviceCallback calls the UnregisterAudioDeviceCallback RPC.
func (*AudioManagerClient) UnregisterAudioPlaybackCallback ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterAudioPlaybackCallback(ctx context.Context, arg0 int64) error
UnregisterAudioPlaybackCallback calls the UnregisterAudioPlaybackCallback RPC.
func (*AudioManagerClient) UnregisterAudioRecordingCallback ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterAudioRecordingCallback(ctx context.Context, arg0 int64) error
UnregisterAudioRecordingCallback calls the UnregisterAudioRecordingCallback RPC.
func (*AudioManagerClient) UnregisterMediaButtonEventReceiver1 ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterMediaButtonEventReceiver1(ctx context.Context, arg0 int64) error
UnregisterMediaButtonEventReceiver1 calls the UnregisterMediaButtonEventReceiver1 RPC.
func (*AudioManagerClient) UnregisterMediaButtonEventReceiver1_1 ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterMediaButtonEventReceiver1_1(ctx context.Context, arg0 int64) error
UnregisterMediaButtonEventReceiver1_1 calls the UnregisterMediaButtonEventReceiver1_1 RPC.
func (*AudioManagerClient) UnregisterRemoteControlClient ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterRemoteControlClient(ctx context.Context, arg0 int64) error
UnregisterRemoteControlClient calls the UnregisterRemoteControlClient RPC.
func (*AudioManagerClient) UnregisterRemoteController ¶ added in v0.0.6
func (c *AudioManagerClient) UnregisterRemoteController(ctx context.Context, arg0 int64) error
UnregisterRemoteController calls the UnregisterRemoteController RPC.
type AudioManagerOnAudioFocusChangeListenerClient ¶ added in v0.0.6
type AudioManagerOnAudioFocusChangeListenerClient struct {
// contains filtered or unexported fields
}
AudioManagerOnAudioFocusChangeListenerClient wraps the gRPC AudioManagerOnAudioFocusChangeListenerService client.
func NewAudioManagerOnAudioFocusChangeListenerClient ¶ added in v0.0.6
func NewAudioManagerOnAudioFocusChangeListenerClient(cc grpc.ClientConnInterface) *AudioManagerOnAudioFocusChangeListenerClient
NewAudioManagerOnAudioFocusChangeListenerClient creates a new AudioManagerOnAudioFocusChangeListener client.
func (*AudioManagerOnAudioFocusChangeListenerClient) OnAudioFocusChange ¶ added in v0.0.6
func (c *AudioManagerOnAudioFocusChangeListenerClient) OnAudioFocusChange(ctx context.Context, arg0 int32) error
OnAudioFocusChange calls the OnAudioFocusChange RPC.
type AudioManagerOnCommunicationDeviceChangedListenerClient ¶ added in v0.0.6
type AudioManagerOnCommunicationDeviceChangedListenerClient struct {
// contains filtered or unexported fields
}
AudioManagerOnCommunicationDeviceChangedListenerClient wraps the gRPC AudioManagerOnCommunicationDeviceChangedListenerService client.
func NewAudioManagerOnCommunicationDeviceChangedListenerClient ¶ added in v0.0.6
func NewAudioManagerOnCommunicationDeviceChangedListenerClient(cc grpc.ClientConnInterface) *AudioManagerOnCommunicationDeviceChangedListenerClient
NewAudioManagerOnCommunicationDeviceChangedListenerClient creates a new AudioManagerOnCommunicationDeviceChangedListener client.
func (*AudioManagerOnCommunicationDeviceChangedListenerClient) OnCommunicationDeviceChanged ¶ added in v0.0.6
func (c *AudioManagerOnCommunicationDeviceChangedListenerClient) OnCommunicationDeviceChanged(ctx context.Context, arg0 int64) error
OnCommunicationDeviceChanged calls the OnCommunicationDeviceChanged RPC.
type AudioManagerOnModeChangedListenerClient ¶ added in v0.0.6
type AudioManagerOnModeChangedListenerClient struct {
// contains filtered or unexported fields
}
AudioManagerOnModeChangedListenerClient wraps the gRPC AudioManagerOnModeChangedListenerService client.
func NewAudioManagerOnModeChangedListenerClient ¶ added in v0.0.6
func NewAudioManagerOnModeChangedListenerClient(cc grpc.ClientConnInterface) *AudioManagerOnModeChangedListenerClient
NewAudioManagerOnModeChangedListenerClient creates a new AudioManagerOnModeChangedListener client.
func (*AudioManagerOnModeChangedListenerClient) OnModeChanged ¶ added in v0.0.6
func (c *AudioManagerOnModeChangedListenerClient) OnModeChanged(ctx context.Context, arg0 int32) error
OnModeChanged calls the OnModeChanged RPC.
type AudioManagerOnPreferredMixerAttributesChangedListenerClient ¶ added in v0.0.6
type AudioManagerOnPreferredMixerAttributesChangedListenerClient struct {
// contains filtered or unexported fields
}
AudioManagerOnPreferredMixerAttributesChangedListenerClient wraps the gRPC AudioManagerOnPreferredMixerAttributesChangedListenerService client.
func NewAudioManagerOnPreferredMixerAttributesChangedListenerClient ¶ added in v0.0.6
func NewAudioManagerOnPreferredMixerAttributesChangedListenerClient(cc grpc.ClientConnInterface) *AudioManagerOnPreferredMixerAttributesChangedListenerClient
NewAudioManagerOnPreferredMixerAttributesChangedListenerClient creates a new AudioManagerOnPreferredMixerAttributesChangedListener client.
func (*AudioManagerOnPreferredMixerAttributesChangedListenerClient) OnPreferredMixerAttributesChanged ¶ added in v0.0.6
func (c *AudioManagerOnPreferredMixerAttributesChangedListenerClient) OnPreferredMixerAttributesChanged(ctx context.Context, arg0 int64, arg1 int64, arg2 int64) error
OnPreferredMixerAttributesChanged calls the OnPreferredMixerAttributesChanged RPC.