blob: 09cb3f1fd1947302baa76d832554f1fb2dbbecb2 [file] [edit]
// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package cellular
// CellularClient interface contains the methods for modem and variants.
type CellularClient interface {
ModemAction
VariantsAction
SimAction
}
// Create a new cellular client instance.
func NewCellularClient(isAndroidBased bool) CellularClient {
if isAndroidBased {
return &AndroidCellular{}
}
return &ChromeOSCellular{}
}
type ChromeOSCellular struct{}
type AndroidCellular struct{}