Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.
         
       
     
  
  
  
  
  
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  GpsNiNotification Struct Reference
 
  
   #include <
   
    gps.h
   
   >
  
 
 
 
 
 
 
  
   Represents an NI request
  
  
   Definition at line
   
    1026
   
   of file
   
    gps.h
   
   .
  
  
 
 
 
 
  
  
   
    Default response when time out.
   
   
    Definition at line
    
     1056
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    A pointer to extra data. Format: key_1 = value_1 key_2 = value_2
   
   
    Definition at line
    
     1083
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    An NI type used to distinguish different categories of NI events, such as GPS_NI_TYPE_VOICE, GPS_NI_TYPE_UMTS_SUPL, ...
   
   
    Definition at line
    
     1040
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    An ID generated by HAL to associate NI notifications and UI responses
   
   
    Definition at line
    
     1034
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Notification/verification options, combinations of GpsNiNotifyFlags constants
   
   
    Definition at line
    
     1045
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Requestor ID
   
   
    Definition at line
    
     1061
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Client name decoding scheme
   
   
    Definition at line
    
     1071
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    set to sizeof(GpsNiNotification)
   
   
    Definition at line
    
     1028
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Notification message. It can also be used to store client_id in some cases
   
   
    Definition at line
    
     1066
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Client name decoding scheme
   
   
    Definition at line
    
     1076
    
    of file
    
     gps.h
    
    .
   
   
  
 
 
 
  
  
   
    Timeout period to wait for user response. Set to 0 for no time out limit.
   
   
    Definition at line
    
     1051
    
    of file
    
     gps.h
    
    .
   
   
  
 
 The documentation for this struct was generated from the following file:
 
  - 
   hardware/libhardware/include/hardware/
   
    gps.h
   
  
 
 
  
  
 
  
    
    
      
    
    
  
       
    
    
  
  
  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 2019-10-02 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 UTC."],[],[]]