27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
sensor_t স্ট্রাকট রেফারেন্স
#include < sensors.h >
ফাইল sensors.h এর 1172 লাইনে সংজ্ঞা।
uint32_t fifoMaxEventCount |
uint32_t fifoReservedEventCount |
const char* প্রয়োজনীয় অনুমতি |
এই কাঠামোর জন্য ডকুমেন্টেশন নিম্নলিখিত ফাইল থেকে তৈরি করা হয়েছিল:
- hardware/libhardware/include/hardware/ sensors.h
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Android Hardware Abstraction Layer: sensor_t Struct Reference\n\nsensor_t Struct Reference\n=========================\n\n[Data Fields](#pub-attribs) \nsensor_t Struct Reference \n\n`\n#include \u003c\n`[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)`\n\u003e\n`\n\n|---------------|--------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| const char \\* | [name](/reference/hal/structsensor__t#a8f8f80d37794cde9472343e4487ba3eb) |\n| ||\n| const char \\* | [vendor](/reference/hal/structsensor__t#a40d4f2ef96d8ebd8802853bf7431d22f) |\n| ||\n| int | [version](/reference/hal/structsensor__t#aad880fc4455c253781e8968f2239d56f) |\n| ||\n| int | [handle](/reference/hal/structsensor__t#a3127ebf018e9da62fa464d348352037d) |\n| ||\n| int | [type](/reference/hal/structsensor__t#ac765329451135abec74c45e1897abf26) |\n| ||\n| float | [maxRange](/reference/hal/structsensor__t#a2480d51e0cbf660947250cc46cd8bcc2) |\n| ||\n| float | [resolution](/reference/hal/structsensor__t#a4333d786c60465d20826583358b2798d) |\n| ||\n| float | [power](/reference/hal/structsensor__t#af2eae6b68aca1a3174f57157c50f58f1) |\n| ||\n| int32_t | [minDelay](/reference/hal/structsensor__t#adc25c0edc33175f2e9f47167bac0eaef) |\n| ||\n| uint32_t | [fifoReservedEventCount](/reference/hal/structsensor__t#a5d6df44e392f520cff42e48bb4e44d6b) |\n| ||\n| uint32_t | [fifoMaxEventCount](/reference/hal/structsensor__t#aaba2e628a36b8915cc95b85404860e3f) |\n| ||\n| const char \\* | [stringType](/reference/hal/structsensor__t#acf1b1d182f742ebff97a570c8528288c) |\n| ||\n| const char \\* | [requiredPermission](/reference/hal/structsensor__t#a09467cc1fa991cd9c573f432d78a38cd) |\n| ||\n| int32_t | [maxDelay](/reference/hal/structsensor__t#a6c4550d23dc9300bbcd1cd439990d2ed) |\n| ||\n| uint32_t | [flags](/reference/hal/structsensor__t#a773b39d480759f67926cb18ae2219281) |\n| ||\n| void \\* | [reserved](/reference/hal/structsensor__t#a8d4c205872279d43f5aa29a4bb420dae) \\[2\\] |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nDefinition at line\n[1172](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\nField Documentation\n-------------------\n\n\n|----------------------------|\n| uint32_t fifoMaxEventCount |\n\n\nDefinition at line\n[1226](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|---------------------------------|\n| uint32_t fifoReservedEventCount |\n\n\nDefinition at line\n[1220](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|----------------|\n| uint32_t flags |\n\n\nDefinition at line\n[1273](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|------------|\n| int handle |\n\n\nDefinition at line\n[1192](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|------------------|\n| int32_t maxDelay |\n\n\nDefinition at line\n[1263](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|----------------|\n| float maxRange |\n\n\nDefinition at line\n[1198](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|------------------|\n| int32_t minDelay |\n\n\nDefinition at line\n[1213](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-------------------|\n| const char\\* name |\n\n\nDefinition at line\n[1177](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-------------|\n| float power |\n\n\nDefinition at line\n[1204](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|---------------------------------|\n| const char\\* requiredPermission |\n\n\nDefinition at line\n[1245](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|----------------------|\n| void\\* reserved\\[2\\] |\n\n\nDefinition at line\n[1277](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|------------------|\n| float resolution |\n\n\nDefinition at line\n[1201](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-------------------------|\n| const char\\* stringType |\n\n\nDefinition at line\n[1236](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|----------|\n| int type |\n\n\nDefinition at line\n[1195](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|---------------------|\n| const char\\* vendor |\n\n\nDefinition at line\n[1180](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n|-------------|\n| int version |\n\n\nDefinition at line\n[1187](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\nof file\n[sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [sensors.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/sensors.h)"]]