語言

Os.Poll(StructPollfd[], Int32) 方法

定義

請參見投票(2)。

[Android.Runtime.Register("poll", "([Landroid/system/StructPollfd;I)I", "")]
public static int Poll(Android.Systems.StructPollfd[]? fds, int timeoutMs);
[<Android.Runtime.Register("poll", "([Landroid/system/StructPollfd;I)I", "")>]
static member Poll : Android.Systems.StructPollfd[] * int -> int

參數

fds
StructPollfd[]
timeoutMs
Int32

傳回

屬性

例外狀況

備註

請參見投票(2)。

注意在 Lollipop 中,這可能會拋出 ErrnoException 一個帶有 EINTR的 。 在後續版本中,實作會自動以適當減少的逾時方式重新啟動系統呼叫。

Java 文件 android.system.Os.poll(android.system.StructPollfd[], int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於