Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
    
    AvailableNetworkInfo
    class AvailableNetworkInfo : Parcelable
    
    Defines available network information which includes corresponding subscription id, network plmns and corresponding priority to be used for network selection by Opportunistic Network Service when passed through TelephonyManager.updateAvailableNetworks
    Summary
    
      
        
          | Nested classes | 
        
          |  | Provides a convenient way to set the fields of a AvailableNetworkInfowhen creating a new instance. | 
      
    
    
    
      
        
          | Inherited constants | 
        
          | From class Parcelable
                
                  
                    | Int | CONTENTS_FILE_DESCRIPTOR
                         Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor. |  
                    | Int | PARCELABLE_WRITE_RETURN_VALUE
                         Flag for use with writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point. |  | 
      
    
    
    
    
    Constants
    
      PRIORITY_HIGH
      
      static val PRIORITY_HIGH: Int
      Value: 1
     
    
      PRIORITY_LOW
      
      static val PRIORITY_LOW: Int
      Value: 3
     
    
      PRIORITY_MED
      
      static val PRIORITY_MED: Int
      Value: 2
     
    Public constructors
    
    Public methods
    
      describeContents
      
      fun describeContents(): Int
      
     
    
      equals
      
      fun equals(other: Any?): Boolean
      
        
          
            | Parameters | 
          
            | obj | the reference object with which to compare. | 
        
      
      
        
          
            | Return | 
          
            | Boolean | trueif this object is the same as the obj argument;falseotherwise. | 
        
      
     
    
    
      getMccMncs
      
      fun getMccMncs(): MutableList<String!>
      Return List of PLMN ids (MCC-MNC) associated with the sub ID. Opportunistic Network Service will scan and verify specified PLMNs are available. If this entry is left empty, then the Opportunistic Network Service will not scan the network to validate the network availability.
      
     
    
      getPriority
      
      fun getPriority(): Int
      Return priority for the subscription id. Priorities are in the range of AvailableNetworkInfo.PRIORITY_LOW to AvailableNetworkInfo.PRIORITY_HIGH Among all networks available after network scan, subId with highest priority is chosen for network selection. If there are more than one subId with highest priority then the network with highest RSRP is chosen.
      
     
    
    
    
      hashCode
      
      fun hashCode(): Int
      
        
          
            | Return | 
          
            | Int | a hash code value for this object. | 
        
      
     
    
      toString
      
      fun toString(): String
      
        
          
            | Return | 
          
            | String | a string representation of the object. | 
        
      
     
    
    Properties
    
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]