如何在无需在屏幕上显示相机的情况下从前置摄像头拍摄照片。 我有服务类
$table1 = [PSCustomObject]@{ Name = 'Abc'; Group = 'Bad'; Policy = 'Great'}, [PSCustomObject]@{ Name = 'redi'; Group = 'Good'; Policy = 'MAD'}
$table2 = [PSCustomObject]@{ Name = 'Abc'; Limit = '10'; used = '5'}, [PSCustomObject]@{ Name = 'redi'; Limit = '20'; used = '1'}
$allTables = $table1 + $table2
$allTables | group Name | Foreach {
$properties = @{}
$_.Group | Foreach {
$_.PsObject.Properties | Where Name -ne 'Name' | Foreach {
$properties += @{
"$($_.Name)" = "$($_.Value)"
}
}
}
$properties += @{Name = $_.Name}
New-Object PSObject –Property $properties
}
和主要活动。我想从主要活动打电话。
Group : Bad
Policy : Great
Name : Abc
Limit : 10
used : 5
Group : Good
Policy : MAD
Name : redi
Limit : 20
used : 1
答案 0 :(得分:0)
当你在后台线程中时,例如服务使用SurfaceTexture
而不是SurfaceHolder
。如果您正在寻找实施here is a opensource app,我已经实现了背景视频流和UI视频流。